Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Could not invoke: oracle.dbtools.injector.impl....

musaerDec 7 2019 — edited Dec 9 2019

Hi,

In Windows 10 system there is apex 19.2 version on 8080 port on Database 12c running. My Java version:

java version "1.8.0_211"

Java (TM) SE Runtime Environment (build 1.8.0_211-b12)

Java HotSpot (TM) 64-Bit Server VM (build 25.211-b12, mixed mode)

I always get the following error when I install Ords 19.2 regularly . Ords don't work. I've done a lot of research, but on the Internet

could not find experiencing similar problem. Does anyone have any idea about this? Thank you.

error image I received like this:

***************************************************************

C:\Ords19>java -jar ords.war

Verify ORDS schema in Database Configuration apex with connection host: localhost port: 1521 sid: orcl

Retrieving information.

Ara 07, 2019 6:42:40 PM oracle.dbtools.rt.config.setup.SchemaSetup install

INFO: Oracle REST Data Services schema version 19.2.0.r1991647 is installed.

2019-12-07 18:42:40.305:INFO::main: Logging initialized @2958ms to org.eclipse.jetty.util.log.StdErrLog

Ara 07, 2019 6:42:40 PM

INFO: HTTP and HTTP/2 cleartext listening on port: 8082

Ara 07, 2019 6:42:40 PM

INFO: Disabling document root because the specified folder does not exist: C:\Ords19\Conf\ords\standalone\doc_root

2019-12-07 18:42:40.968:INFO:oejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2019-05-02T09:46:34.874Z; git: 14f32d50076f2b706f41a33066eb364d8492e199; jvm 1.8.0_211-b12

2019-12-07 18:42:40.983:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0

2019-12-07 18:42:40.983:INFO:oejs.session:main: No SessionScavenger set, using defaults

2019-12-07 18:42:40.984:INFO:oejs.session:main: node0 Scavenging every 600000ms

Ara 07, 2019 6:42:41 PM

WARNING: The pool named: |apex|| is invalid and will be ignored: No enum constant oracle.dbtools.common.config.db.DatabaseURL.ConnectionType.BAS¦C

Ara 07, 2019 6:42:41 PM

WARNING: The pool named: |apex|al| is invalid and will be ignored: No enum constant oracle.dbtools.common.config.db.DatabaseURL.ConnectionType.BAS¦C

Ara 07, 2019 6:42:41 PM

WARNING: The pool named: |apex|pu| is invalid and will be ignored: No enum constant oracle.dbtools.common.config.db.DatabaseURL.ConnectionType.BAS¦C

Ara 07, 2019 6:42:41 PM

WARNING: The pool named: |apex|rt| is invalid and will be ignored: No enum constant oracle.dbtools.common.config.db.DatabaseURL.ConnectionType.BAS¦C

Ara 07, 2019 6:42:41 PM

INFO: Oracle REST Data Services initialized

Oracle REST Data Services version : 19.2.0.r1991647

Oracle REST Data Services server info: jetty/9.4.z-SNAPSHOT

2019-12-07 18:42:41.645:INFO:oejs.session:main: node0 Stopped scavenging

Ara 07, 2019 6:42:41 PM

SEVERE: Could not start Standalone Mode because an error occurred: Could not invoke: oracle.dbtools.injector.impl.InstantiatorsImpl$ReflectiveInstantiator@52e6fdee, due to the following error: java.lang.IllegalArgumentException: No enum constant oracle.dbtools.common.stmt.ParameterAccess.¦N

oracle.dbtools.standalone.StandaloneException: Could not start Standalone Mode because an error occurred: Could not invoke: oracle.dbtools.injector.impl.InstantiatorsImpl$ReflectiveInstantiator@52e6fdee, due to the following error: java.lang.IllegalArgumentException: No enum constant oracle.dbtools.common.stmt.ParameterAccess.¦N

        at oracle.dbtools.standalone.StandaloneConfiguration.couldNotStartServer(StandaloneConfiguration.java:438)

        at oracle.dbtools.standalone.StandaloneConfiguration.start(StandaloneConfiguration.java:297)

        at oracle.dbtools.standalone.Standalone.execute(Standalone.java:508)

        at oracle.dbtools.cmdline.DefaultCommand.execute(DefaultCommand.java:137)

        at oracle.dbtools.cmdline.Commands.execute(Commands.java:207)

        at oracle.dbtools.cmdline.Commands.main(Commands.java:163)

        at oracle.dbtools.cmdline.Commands.main(Commands.java:368)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at oracle.dbtools.jarcl.Entrypoint.invoke(Entrypoint.java:66)

        at oracle.dbtools.jarcl.Entrypoint.main(Entrypoint.java:77)

Caused by: oracle.dbtools.common.di.DependencyInjectionException: Could not invoke: oracle.dbtools.injector.impl.InstantiatorsImpl$ReflectiveInstantiator@52e6fdee, due to the following error: java.lang.IllegalArgumentException: No enum constant oracle.dbtools.common.stmt.ParameterAccess.¦N

        at oracle.dbtools.common.di.DependencyInjectionException.convert(DependencyInjectionException.java:59)

        at oracle.dbtools.common.di.Services.acquire(Services.java:170)

        at oracle.dbtools.standalone.DataSourceMapInitializer.contextInitialized(DataSourceMapInitializer.java:26)

        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:957)

        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:553)

        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:922)

        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:365)

        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852)

        at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)

        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119)

        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)

        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119)

        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)

        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)

        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)

        at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:256)

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)

        at org.eclipse.jetty.server.Server.start(Server.java:418)

        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)

        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)

        at org.eclipse.jetty.server.Server.doStart(Server.java:382)

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

        at oracle.dbtools.standalone.StandaloneConfiguration.start(StandaloneConfiguration.java:282)

        ... 11 more

Caused by: oracle.dbtools.injector.impl.DependencyInjectionException: Could not invoke: oracle.dbtools.injector.impl.InstantiatorsImpl$ReflectiveInstantiator@52e6fdee, due to the following error: java.lang.IllegalArgumentException: No enum constant oracle.dbtools.common.stmt.ParameterAccess.¦N

        at oracle.dbtools.injector.impl.DependencyInjectionException.invocationError(DependencyInjectionException.java:122)

        at oracle.dbtools.injector.impl.ServiceFactory.invoke(ServiceFactory.java:193)

        at oracle.dbtools.injector.impl.ServiceFactory.instantiate(ServiceFactory.java:171)

        at oracle.dbtools.injector.impl.ServiceFactory.access$500(ServiceFactory.java:27)

        at oracle.dbtools.injector.impl.ServiceFactory$ResolvedDependenciesFactory.newInstance(ServiceFactory.java:480)

        at oracle.dbtools.injector.impl.ServiceFactory.instantiate(ServiceFactory.java:144)

        at oracle.dbtools.injector.impl.ServiceFactory.access$300(ServiceFactory.java:27)

        at oracle.dbtools.injector.impl.ServiceFactory$InstanceFactory.newInstance(ServiceFactory.java:458)

        at oracle.dbtools.injector.impl.Singletons.newInstance(Singletons.java:112)

        at oracle.dbtools.injector.impl.SingletonsBase.get(SingletonsBase.java:45)

        at oracle.dbtools.injector.impl.SingletonsBase.get(SingletonsBase.java:59)

        at oracle.dbtools.injector.impl.ServiceFactory.resolveDependencies(ServiceFactory.java:322)

        at oracle.dbtools.injector.impl.ServiceFactory.instantiate(ServiceFactory.java:138)

        at oracle.dbtools.injector.impl.ServiceFactory.access$300(ServiceFactory.java:27)

        at oracle.dbtools.injector.impl.ServiceFactory$InstanceFactory.newInstance(ServiceFactory.java:458)

        at oracle.dbtools.injector.impl.Singletons.newInstance(Singletons.java:112)

        at oracle.dbtools.injector.impl.SingletonsBase.get(SingletonsBase.java:45)

        at oracle.dbtools.injector.impl.ServiceFactory.newInstance(ServiceFactory.java:55)

        at oracle.dbtools.injector.impl.InjectorImpl.get(InjectorImpl.java:124)

        at oracle.dbtools.injector.InstanceProviders.get(InstanceProviders.java:23)

        at oracle.dbtools.common.di.Services.acquire(Services.java:168)

        ... 39 more

Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at oracle.dbtools.injector.impl.InstantiatorsImpl$ReflectiveInstantiator.newInstance(InstantiatorsImpl.java:118)

        at oracle.dbtools.injector.impl.ServiceFactory.invoke(ServiceFactory.java:183)

        ... 58 more

Caused by: java.lang.IllegalArgumentException: No enum constant oracle.dbtools.common.stmt.ParameterAccess.¦N

        at java.lang.Enum.valueOf(Unknown Source)

        at oracle.dbtools.common.stmt.ParameterAccess.valueOf(ParameterAccess.java:13)

        at oracle.dbtools.common.stmt.ParameterAccess.value(ParameterAccess.java:35)

        at oracle.dbtools.rest.resource.modules.xml.Parameter.access(Parameter.java:46)

        at oracle.dbtools.rest.resource.modules.xml.XMLResourceModuleSet$Builder.buildPathTemplates(XMLResourceModuleSet.java:154)

        at oracle.dbtools.rest.resource.modules.xml.XMLResourceModuleSet$Builder.read(XMLResourceModuleSet.java:203)

        at oracle.dbtools.rest.resource.modules.xml.XMLResourceModuleSet$Builder.add(XMLResourceModuleSet.java:92)

        at oracle.dbtools.rest.resource.modules.xml.StaticModules.add(StaticModules.java:77)

        at oracle.dbtools.rest.resource.modules.xml.StaticModules.<init>(StaticModules.java:49)

        ... 64 more

Comments

Post Details

Added on Dec 7 2019
2 comments
866 views