Protocol Violation and Connection is Closed exceptions When Using JDBC 12.1.0.2 with WebSphere

(Doc ID 2359390.1)

Last updated on FEBRUARY 15, 2018

Applies to:

JDBC - Version 12.1.0.2.0 to 12.1.0.2.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

When using ojdbc7.jar (12.1.0.2) on WebSphere application, the following errors are received:

java.sql.SQLException: Protocol violation: [ 0, ] 
at org.apache.commons.dbutils.QueryRunner.rethrow(QueryRunner.java:330)
at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:399)

...

Exception:com.ibm.websphere.ce.cm.ObjectClosedException SourceId:com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.rollback ProbeId:1860 Reporter:com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@55e60a4a
com.ibm.websphere.ce.cm.ObjectClosedException: DSRA9110E: Connection is closed.
at com.ibm.ws.rsadapter.jdbc.WSJdbcWrapper.createClosedException(WSJdbcWrapper.java:122)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.rollback(WSJdbcConnection.java:3276)


The application works successfully when using JDBC 11.2.0.3.

 

Changes

 Upgrade from JDBC 11.2.0.3 to JDBC 12.1.0.2.

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