"Java.sql.SQLException: Invalid Packet Lenght" While Connecting To The Database From A JDBC Program Using SSL

(Doc ID 1663245.1)

Last updated on JUNE 02, 2017

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


On : version, JDBC for Java

When attempting to connect to the database using SSL with JDBC and JDK 1.7, the following error occurs.
If SSL is not used, all works fine.



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