My Oracle Support Banner

"[Driver]: java.lang.ClassCastException: 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 and later
Information in this document applies to any platform.


Oracle JDBC driver version:

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

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: incompatible with oracle.jdbc.replay.OracleDataSourceImpl


Following the white paper -


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.