The jTDS JDBC driver is hanging after login when SSL is used with JRE 1.8.x
I am using "ssl=request" connection property in JDBC Url to configure secure connection.
Below is the stack trace:
java.sql.SQLException: Network error IOException: Connection reset
at net.sourceforge.jtds.jdbc.JtdsConnection.<init>(JtdsConnection.java:436)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at TestSQLSecureConnection.connect(TestSQLSecureConnection.java:68)
at TestSQLSecureConnection.main(TestSQLSecureConnection.java:105)</init>
I am using latest available jtds-1.3.1 jar. The same works with JRE 1.7.x, the problem is only with JRE 1.8.x
Please note I am aware there already exists bug a #725 for similar issue. Currently it is in closed state. It has a patched JTDS binary compiled with JDK 8.
The patch attached in bug #725 works with both JRE 1.7.x and 1.8.x without any issue.
Would like to know whether there is planned official release date for the patch?
Thank you.