ORDS 17.4 Fails When Deployed on WLS 12c

(Doc ID 2348454.1)

Last updated on JANUARY 26, 2018

Applies to:

Oracle REST Data Services - Version 17.4 and later
Oracle Application Express (APEX) - Version 4.2 and later
Oracle WebLogic Server - Version 12.1.3.0.0 and later
Java SE JDK and JRE - Version 8 to 8
Information in this document applies to any platform.

Symptoms

 ORDS 17.4.1 has been configured and deployed on Weblogic 12c. Upon attempting to launch ORDS on WebLogic 12 the following error message appears:

Could not invoke: oracle.dbtools.url.mapping.node.NodeMapper(oracle.dbtools.plugin.api.logging.Log,oracle.dbtools.common.di.ServiceLocator,
oracle.dbtools.http.dispatch.MetaDataFactory,
oracle.dbtools.http.routes.RoutePatterns,
oracle.dbtools.http.servlet.DispatchableServletDependencies),
due to the following error: oracle.dbtools.common.di.DependencyInjectionException:
Could not invoke: oracle.dbtools.rest.resource.modules.xml.StaticModules(oracle.dbtools.plugin.api.logging.Log,
oracle.dbtools.rest.resource.modules.xml.StaticManifests,
oracle.dbtools.common.reflect.ClassLoaderResources,
oracle.dbtools.rest.resource.modules.xml.XMLResourceModules,
oracle.dbtools.plugin.api.routes.PathTemplates,
oracle.dbtools.rest.resource.modules.ResourceModulePatterns,
oracle.dbtools.rest.resource.jdbc.hooks.JDBCDispatchHooks,
oracle.dbtools.rest.resource.modules.xml.StaticPrivileges,
oracle.dbtools.rest.resource.generator.ResourceGenerators),
due to the following error: oracle.dbtools.common.UnrecoverableException: Exception Description:
The class oracle.dbtools.rest.resource.modules.xml.Content requires a zero argument constructor or a specified factory method.
Note that non-static inner classes do not have zero argument constructors and are not supported.

 

Changes

 Deploying ORDS 17.4 using a 1.8 JDK / Weblogic 12c.

Cause

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 hundreds of Community platforms