"No More Data To Read From Socket" After JDBC Upgrade to Against Oracle Server

(Doc ID 821147.1)

Last updated on OCTOBER 25, 2016

Applies to:

JDBC - Version and later
Information in this document applies to any platform.
***Checked for relevance on05-Mar-2013***


After upgrading Oracle database from to, and upgrading Oracle JDBC to, the following error is obtained every time a query is run and more than one record gets returned in a Websphere application:

com.ibm.websphere.ce.cm.StaleConnectionException: No more data to read from socket
SOURCE:com.ibm.websphere.ce.cm.StaleConnectionException: No more data to read from socket

If the query only finds one record (or none) no error gets thrown; in the case of one record the data is successfully retrieved.

If JDBC 9i is used instead of 10g, the issue does not occur.

If JDBC is used against a database, the issue does not occur.


Upgrade RDBMS to
Upgrade JDBC driver to


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