Connecting To 19c DB From Java Stored Procedure Using Native Encryption Failing With "No More Data To Read From Socket" Error
(Doc ID 2752393.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 to 21.1 [Release 19 to 20.0]Information in this document applies to any platform.
Symptoms
Java code creates a Database connection to whatever database (own database, or remote database) with native encryption enabled (SQLNET.ENCRYPTION_SERVER=REQUIRED, SQLNET.CRYPTO_CHECKSUM_SERVER=REQUIRED) will result in "java.sql.SQLRecoverableException: No more data to read from socket". While disable the network encryption code will work properly.
Below is the complete error stack:
Changes
Using native encryption (SQLNET.ENCRYPTION_SERVER=REQUIRED, SQLNET.CRYPTO_CHECKSUM_SERVER=REQUIRED)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |