My Oracle Support Banner

Unable To Invoke SAP Adapters - java.lang.NoClassDefFoundError: Could not initialize class (Doc ID 2358866.1)

Last updated on OCTOBER 21, 2021

Applies to:

SOA Suite Cloud Service - Version N/A and later
Information in this document applies to any platform.


Unable to invoke SAP adapter in SOA CS environment.

The use case is: SAP adapter for outbound process to call IDOC in SAP system.

After creating the service and deploying to SOACS, the following error occurs at runtime:

Exception occurred when binding was invoked.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'ORDERS05' failed due to: JCA Binding Component connection issue.
JCA Binding Component is unable to create an outbound JCA (CCI) connection."
DOMAIN: SAPTestService:sapReference [ sapReference_PT::ORDERS05(parameters,parameters) ] :
The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue:
javax.resource.spi.ResourceAdapterInternalException: Failed to create managed connection: java.lang.NoClassDefFoundError: Could not initialize class
Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections.
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.


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

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