My Oracle Support Banner

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

Last updated on FEBRUARY 17, 2023

Applies to:

Oracle REST Data Services - Version 17.4 to 17.4.1
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.

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.