<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connection Reset with db-connect and MS SQL in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167297#M186172</link>
    <description>&lt;P&gt;thanks so much for posting, using jre7 fixed it for me too&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2014 19:56:20 GMT</pubDate>
    <dc:creator>espositojli</dc:creator>
    <dc:date>2014-06-27T19:56:20Z</dc:date>
    <item>
      <title>Connection Reset with db-connect and MS SQL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167295#M186170</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I struggled quite a time to make db-connect work with my splunk 6.0.3 installation.&lt;/P&gt;

&lt;P&gt;Error Message in dbx.log is attached.&lt;/P&gt;

&lt;P&gt;I solved the issue with replacing JRE8 with JRE7. I guess there is some issue with different encryption ciphers used in JRE7/8.&lt;/P&gt;

&lt;P&gt;As I couldn't find anything on this issue maybe this note is helpful to others.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Bernd&lt;/P&gt;

&lt;P&gt;.....................&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2014-05-16 09:05:12.994 dbx5589:ERROR:DatabaseList - Error fetching database catalogs: java.sql.SQLException: Network error IOException: Connection reset
java.sql.SQLException: Network error IOException: Connection reset
    at net.sourceforge.jtds.jdbc.ConnectionJDBC2.&amp;lt;init&amp;gt;(ConnectionJDBC2.java:417)
    at net.sourceforge.jtds.jdbc.ConnectionJDBC3.&amp;lt;init&amp;gt;(ConnectionJDBC3.java:50)
    at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:185)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at com.splunk.dbx.sql.type.impl.AbstractDatabaseType.connect(AbstractDatabaseType.java:138)
    at com.splunk.dbx.sql.type.impl.MicrosoftSqlServer.connect(MicrosoftSqlServer.java:85)
    at com.splunk.dbx.sql.type.impl.AbstractJtdsDatabaseType.listCatalogs(AbstractJtdsDatabaseType.java:48)
    at com.splunk.dbx.info.DatabaseList.invoke(DatabaseList.java:34)
    at com.splunk.bridge.session.BridgeSession.call(BridgeSession.java:92)
    at com.splunk.bridge.session.BridgeSession.call(BridgeSession.java:30)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    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(Unknown Source)
    at sun.security.ssl.InputRecord.read(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at net.sourceforge.jtds.ssl.SocketFactories$TdsTlsSocketFactory.createSocket(SocketFactories.java:101)
    at net.sourceforge.jtds.jdbc.SharedSocket.enableEncryption(SharedSocket.java:346)
    at net.sourceforge.jtds.jdbc.TdsCore.negotiateSSL(TdsCore.java:548)
    at net.sourceforge.jtds.jdbc.ConnectionJDBC2.&amp;lt;init&amp;gt;(ConnectionJDBC2.java:346)
    ... 14 more
2014-05-16 09:05:13.010 dbx5589:INFO:BridgeSession - Caught Exit exception: JavaBridgeExitException{status=-1}
2014-05-16 09:05:13.010 dbx5589:INFO:BridgeSession - Execution finished in duration=341388 ms with status=-1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 May 2014 08:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167295#M186170</guid>
      <dc:creator>bleinfelder</dc:creator>
      <dc:date>2014-05-16T08:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Reset with db-connect and MS SQL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167296#M186171</link>
      <description>&lt;P&gt;Thanks for the note.  The jtds issue is in the process of being fixed (&lt;A href="http://sourceforge.net/p/jtds/bugs/725/"&gt;http://sourceforge.net/p/jtds/bugs/725/&lt;/A&gt;) and we'll pick it up as soon as practical.&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2014 19:00:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167296#M186171</guid>
      <dc:creator>rroussev_splunk</dc:creator>
      <dc:date>2014-05-20T19:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Reset with db-connect and MS SQL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167297#M186172</link>
      <description>&lt;P&gt;thanks so much for posting, using jre7 fixed it for me too&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 19:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167297#M186172</guid>
      <dc:creator>espositojli</dc:creator>
      <dc:date>2014-06-27T19:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Reset with db-connect and MS SQL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167298#M186173</link>
      <description>&lt;P&gt;Had same problem and solution. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2014 14:19:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167298#M186173</guid>
      <dc:creator>otaci</dc:creator>
      <dc:date>2014-09-16T14:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Reset with db-connect and MS SQL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167299#M186174</link>
      <description>&lt;P&gt;With Java 7 now it works. Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 21 Feb 2015 00:23:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167299#M186174</guid>
      <dc:creator>ipoy11</dc:creator>
      <dc:date>2015-02-21T00:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Reset with db-connect and MS SQL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167300#M186175</link>
      <description>&lt;P&gt;I ran across this same issue and this post was extremely helpful. Thanks for sharing!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2015 20:18:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167300#M186175</guid>
      <dc:creator>twellinghurst</dc:creator>
      <dc:date>2015-02-27T20:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Reset with db-connect and MS SQL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167301#M186176</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
The below link will help in resolving the issue. I have used DBConnect 1.2.2 with the patched jar file.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://sourceforge.net/p/jtds/bugs/725/?limit=10&amp;amp;page=1#7b2b"&gt;http://sourceforge.net/p/jtds/bugs/725/?limit=10&amp;amp;page=1#7b2b&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Search for the text and link:&lt;/STRONG&gt; &lt;BR /&gt;
Attachments&lt;BR /&gt;
jtds-1.3.1-v20140512.jar&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
L&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2015 17:00:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167301#M186176</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2015-11-30T17:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Reset with db-connect and MS SQL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167302#M186177</link>
      <description>&lt;P&gt;2/2016, this issue of java 8 with SQL server is still not fixed!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 22:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Connection-Reset-with-db-connect-and-MS-SQL/m-p/167302#M186177</guid>
      <dc:creator>paulbmxu</dc:creator>
      <dc:date>2016-02-10T22:26:45Z</dc:date>
    </item>
  </channel>
</rss>

