My Oracle Support Banner

"java.lang.IllegalArgumentException: can't parse argument number: Ø" While Using 12c JDBC Driver With OpenESB (Doc ID 2434110.1)

Last updated on AUGUST 20, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information 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)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
at javax.naming.InitialContext.init(InitialContext.java:244)
at javax.naming.InitialContext.(InitialContext.java:216)
at net.openesb.standalone.naming.ContextProvider.get(ContextProvider.java:61)
at net.openesb.standalone.naming.ContextProvider.get(ContextProvider.java:23)
at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75)
at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:73)
at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:147)
at com.google.inject.internal.Initializer.injectAll(Initializer.java:92)
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:173)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at net.openesb.standalone.inject.ModulesBuilder.createInjector(ModulesBuilder.java:42)
at net.openesb.standalone.node.internal.InstanceNode.(InstanceNode.java:75)
at net.openesb.standalone.node.NodeBuilder.build(NodeBuilder.java:24)
at net.openesb.standalone.startup.Container.(Container.java:21)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at net.openesb.standalone.startup.Bootstrap.init(Bootstrap.java:76)
at net.openesb.standalone.startup.Bootstrap.start(Bootstrap.java:122)
at net.openesb.standalone.startup.Bootstrap.main(Bootstrap.java:201)
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!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.