"[Driver]: java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource incompatible with oracle.jdbc.replay.OracleDataSourceImpl " Oracle UCP With Transaction Replay Error (Doc ID 2101570.1)

Last updated on FEBRUARY 01, 2016

Applies to:

Universal Connection Pool - Version 12.1.0.2.0 and later
Information in this document applies to any platform.

Symptoms

Oracle JDBC driver version: 12.1.0.2.0

Websphere version is 8.5.5.6.
using the latest ojdbc7.jar and ucp.jar (12.1.0.2.0)

Client is using 12c Application Continuity with Websphere application using Oracle UCP.

The UCP is set up following the Oracle white paper "Design and Deploy WebSphere Applications for Planned, Unplanned Database Downtimes and Runtime Load Balancing with UCP".
The test sample program is not working with the transaction replay interface. Need help to resolving this error - [Servlet Error]-[Driver]: java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource incompatible with oracle.jdbc.replay.OracleDataSourceImpl

ERROR
-----------------------




STEPS
-----------------------
Following the white paper - http://www.oracle.com/technetwork/database/application-development/planned-unplanned-rlb-ucp-websphere-2409214.pdf

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