My Oracle Support Banner

java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_T4CConnection_12130_WLStub cannot be cast to oracle.jdbc.OracleConnection (Doc ID 2240358.1)

Last updated on JULY 23, 2018

Applies to:

Oracle Service Bus - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

After performing a datasource reset using the Weblogic console, an OSB service which uses that datasource begins to fail with

<Feb 24, 2017 10:27:38 AM PST> <Error> <oracle.osb.transports.jca> <BEA-000000> <servicebus:/EnterpriseServices/Artifacts/business/wsdl/PeterW.wsdl [ PeterW_ptt::PeterW(InputParameters,OutputParameters) ] - Could not invoke operation 'PeterW' due to:

BINDING.JCA-11812
Interaction processing error.
Error while processing the execution of the XX_PeterW_WRP.xx_my_order_utils$so_c API interaction.
An error occurred while processing the interaction for invoking the XX_PeterW_WRP.xx_my_order_utils$so_c API. Cause: java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_T4CConnection_12130_WLStub cannot be cast to oracle.jdbc.OracleConnection
Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. This exception is considered not retriable, likely due to a modelling mistake.

at oracle.tip.adapter.db.exceptions.DBResourceException.createNonRetriableException(DBResourceException.java:690)
at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:656)
at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:180)
at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:184)
at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1302)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:307)
at oracle.tip.adapter.apps.AppsInteraction.execute(AppsInteraction.java:168)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:568)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:362)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:342)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:422)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:323)

 



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
Cause
Solution


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