My Oracle Support Banner

11.2 JDBC/Thin cannot Connect with SSL to 10g Database (Doc ID 1089763.1)

Last updated on NOVEMBER 22, 2023

Applies to:

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


JDBC/thin driver version 11.2 cannot connect with SSL to a 10g database ( i.e. prior to 11g).  The following exception is thrown when trying to connect:

java.sql.SQLException: Got minus one from a read call
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 testcase.CallableTCPS.main(
Caused by: Got minus one from a read call
at oracle.jdbc.driver.T4CConnection.connect(
at oracle.jdbc.driver.T4CConnection.logon(
... 8 more

on serverside the listener.log contains the following error:
27-APR-2010 10:59:14 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcps)(HOST=X.X.X.X)(PORT=54729)) * establish * <unknown sid> * 12525
TNS-12525: TNS:listener has not received client's request in time allowed
TNS-12535: TNS:operation timed out
TNS-12606: TNS: Application timeout occurred

when enabling listener tracing the following errors are seen:
nscon: got NSPTCN packet
nsconneg: entry
nsconneg: vsn=310, lov=300, opt=0x40, sdu=8192, tdu=32767, ntc=0x4f98
nserror: entry
nserror: nsres: id=6, op=79, ns=12564, ns2=12619; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nsconneg: error exit
nserror: entry


upgrade to JDBC 11.2


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.