× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
NielsGron reported Aug 23, 2014  · SachinPrakash last modified Feb 12, 2016

Connections to SQL Server fail when running ADS with Java 1.8


Priority Critical
Complexity Unknown
Component App - Schema Browser
Version 15.0

If I run ADS with Java 1.8 all my connections to SQL Server 2005, 2008, 2012 and 2014 fail.  Connection to SQL Server 2000 works.  If I run with Java 1.7 then they all work.  Only one of the servers is configured for SSL.  The exception below is what I get on one of the servers which is not SSL configured.

I can reproduce this problem with Java 1.8.0_u20-64bit on Windows, Linux and OSX.

java.sql.SQLException: Network error IOException: Connection reset
    at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:430)
    at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:58)
    at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:191)
    at com.aquafold.aquacore.scripts.ConnectionProperties.getConnectionPrivate(ConnectionProperties.java:2180)
    at com.aquafold.aquacore.scripts.ConnectionProperties.getConnection(ConnectionProperties.java:1936)
    at com.aquafold.aquacore.scripts.ConnectionProperties.getConnection(ConnectionProperties.java:1930)
    at com.aquafold.aquacore.scripts.ConnectionProperties.getConnection(ConnectionProperties.java:1926)
    at com.aquafold.datastudio.mainframe.dialog.connection.diagnostics.DiagnosisUtil.testJdbcConnection(DiagnosisUtil.java:194)
    at com.aquafold.datastudio.schematree.DirConnectionNode$2.process(DirConnectionNode.java:433)
    at com.common.ui.util.BackgroundThread.run(BackgroundThread.java:82)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:189)
    at java.net.SocketInputStream.read(SocketInputStream.java:121)
    at net.sourceforge.jtds.ssl.TdsTlsInputStream.readFully(TdsTlsInputStream.java:131)
    at net.sourceforge.jtds.ssl.TdsTlsInputStream.primeBuffer(TdsTlsInputStream.java:100)
    at net.sourceforge.jtds.ssl.TdsTlsInputStream.read(TdsTlsInputStream.java:78)
    at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
    at sun.security.ssl.InputRecord.read(InputRecord.java:503)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
    at net.sourceforge.jtds.ssl.SocketFactories$TdsTlsSocketFactory.createSocket(SocketFactories.java:101)
    at net.sourceforge.jtds.jdbc.SharedSocket.enableEncryption(SharedSocket.java:347)
    at net.sourceforge.jtds.jdbc.TdsCore.negotiateSSL(TdsCore.java:569)
    at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:359)
    ... 9 more

4 attachments

Issue #12463

Closed
Fixed
Resolved Sep 3, 2014
 
 
Completion
No due date
Fixed Build 15.0-rc-13, svn#40004
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017