My Oracle Support Banner

JDBC SSL Connections Fail With Invalid Packet Lenght Exception After Applying Database Patchsets or PSUs (Doc ID 1666740.1)

Last updated on MAY 31, 2018

Applies to:

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


 JDBC SSL connections and ASO connections fail with the below exception:

Exception in thread "main" java.sql.SQLRecoverableException: IO Error: Invalid Packet Lenght
at oracle.jdbc.driver.T4CConnection.logon(
at oracle.jdbc.driver.PhysicalConnection.<init>(
at oracle.jdbc.driver.T4CConnection.<init>(
at oracle.jdbc.driver.T4CDriverExtension.getConnection(
at oracle.jdbc.driver.OracleDriver.connect(
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(
at oracle.jdbc.pool.OracleDataSource.getConnection(
at oracle.jdbc.pool.OracleDataSource.getConnection(
at SSLTest.getConnection(
at SSLTest.main(
Caused by: Invalid Packet Lenght
at oracle.jdbc.driver.T4CConnection.connect(
at oracle.jdbc.driver.T4CConnection.logon(


The problem is encountered when using JDBC driver versions and


 Applying Database Patchset or Patch Set Updates (PSUs) to the Oracle Database. 


To view full details, 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 a vibrant support community of peers and Oracle experts.