Oracle SODA JSON Datasource Connection Fails with java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection incompatible with oracle.jdbc.OracleConnection
(Doc ID 2177547.1)
Last updated on OCTOBER 31, 2022
Applies to:
JDBC - Version 12.1.0.2.0 and laterInformation in this document applies to any platform.
Symptoms
Trying to use the Oracle SODA API for JSON support in Oracle 12C database from Websphere datasource using Oracle JDBC 12.1.0.1 (ojdbc7.jar) for Connection pool fails with error:
7/19/16 9:37:49:292 CDT] 0000007f webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[mvc-dispatcher]: java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection incompatible with oracle.jdbc.OracleConnection
at oracle.soda.rdbms.OracleRDBMSClient.getDatabase(OracleRDBMSClient.java:108)
Changes
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 |