"java.lang.IllegalArgumentException: can't parse argument number: Ø" While Using 12c JDBC Driver With OpenESB
(Doc ID 2434110.1)
Last updated on AUGUST 01, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterInformation in this document applies to any platform.
Symptoms
Using ojdbc7 driver 12.1.0.2 to create a Data-source in the file context.xml, the next exception is reported while starting the server.
This works fine using JDBC 11.2.4.0.
ERROR
-----------------------
jun 19, 2018 12:45:44 PM net.openesb.standalone.naming.jndi.ds.tomcat.TomcatDataSourcePoolFactory getDataSource
GRAVE: OESE-1503: Unable to create datasource OraclePoolTNSNames
java.lang.IllegalArgumentException: can't parse argument number: Ø
at java.text.MessageFormat.makeFormat(MessageFormat.java:1429)
at java.text.MessageFormat.applyPattern(MessageFormat.java:479)
at java.text.MessageFormat.(MessageFormat.java:362)
at java.text.MessageFormat.format(MessageFormat.java:840)
at net.openesb.standalone.utils.I18NBundle.getFormattedMessage(I18NBundle.java:107)
at net.openesb.standalone.utils.I18NBundle.getMessage(I18NBundle.java:120)
at net.openesb.standalone.utils.I18NBundle.getMessage(I18NBundle.java:158)
at net.openesb.standalone.naming.jndi.ds.tomcat.TomcatDataSourcePoolFactory.createNativeDataSource(TomcatDataSourcePoolFactory.java:186)
at net.openesb.standalone.naming.jndi.ds.tomcat.TomcatDataSourcePoolFactory.getDataSource(TomcatDataSourcePoolFactory.java:47)
at net.openesb.standalone.naming.jndi.InitialContexFactoryImpl.populate(InitialContexFactoryImpl.java:143)
at net.openesb.standalone.naming.jndi.InitialContexFactoryImpl.getInitialContext(InitialContexFactoryImpl.java:51)
...
Caused by: java.lang.NumberFormatException: For input string: "Ø"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at java.text.MessageFormat.makeFormat(MessageFormat.java:1427)
... 56 more
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |