My Oracle Support Banner

ORDS 17.4 Fails When Deployed on WLS 12c (Doc ID 2348454.1)

Last updated on FEBRUARY 18, 2021

Applies to:

Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
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.

Note: Other errors that may be seen when trying to access ORDS are:

Error 500--Internal Server Error
java.lang.IllegalArgumentException: Header:Error-Reason Cannot contain CRLF Characters

Changes

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

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

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