SQLRecoverableException:No more data to read from socket After Failover With UCP 11.2.0.4 (Doc ID 1663481.1)

Last updated on MAY 19, 2017

Applies to:

JDBC - Version 11.2.0.4.0 to 12.1.0.1.0 [Release 11.2 to 12.1]
Universal Connection Pool - Version 11.2.0.3.0 and later
Information in this document applies to any platform.

Symptoms

Fast Connection Failover (FCF) does not work after failover with Universal Connection Pool (UCP) 11.2.0.4 or 12.1.0.1.

Even though the application recieves FAN event, UCP throws SQLRecoverableException when using the connection.

java.sql.SQLRecoverableException: No more data to read from socket
       at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1200)
       at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:369)
       at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:235)
       at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:543)
       at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:199)
       at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1418)
       at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1764)
       at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:2675)
       at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:2604)
       at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:1087)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:272)
       at com.sun.proxy.$Proxy1.executeUpdate(Unknown Source)
       at ConnectTest.main(ConnectTest.java:97)

 

Changes

 Upgrade to UCP 11.2.0.4 or 12.1.0.1.

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