com.microsoft.sqlserver.jdbc.SQLServerException: An exception occurred during the DBComms.receive method. Operation:Connection reset. Context:(1) [Thread[main,5,main], IO:2961b, Dbc:d03f9]. PktNum:1. TotalReceived:170. PktSize:4,096.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you're not using yet, consider using the SQLServerDataSource to set your server configurations. Also, check if the server is accepting TCP/IP connections and if there's no firewall blocking the connections.

Solutions on the web

via microsoft.com by Unknown author, 1 year ago
An exception occurred during the DBComms.receive method. Operation:Connection reset. Context:(1) [Thread[main,5,main], IO:2961b, Dbc:d03f9]. PktNum:1. TotalReceived:170. PktSize:4,096.
via Google Groups by Unknown author, 7 months ago
An exception occurred during the DBComms.receive method. Operation:Connection reset. Context:(1) [Thread[main,5,main], IO:935c3, Dbc:875c3]. PktNum: 1. TotalReceived:177. PktSize:4,096.
via Oracle Community by 843859, 5 months ago
The cursor type/concurrency combination is not supported.
via GitHub by rodlogic
, 4 months ago
A processing error "Invalid object name '#T'." occurred.
via microsoft.com by Unknown author, 2 years ago
The cursor type/concurrency combination is not supported.
via bigresource.com by Unknown author, 2 years ago
The cursor type/concurrency combination is not supported.
com.microsoft.sqlserver.jdbc.SQLServerException: An exception occurred during the DBComms.receive method. Operation:Connection reset. Context:(1) [Thread[main,5,main], IO:2961b, Dbc:d03f9]. PktNum:1. TotalReceived:170. PktSize:4,096.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
at com.microsoft.sqlserver.jdbc.DBComms.receive(Unknown Source)
at com.microsoft.sqlserver.jdbc.DBComms.receive(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at importclmdata.Clm.(Clm.java:90)
at importclmdata.Main.main(Main.java:35)

Users with the same issue

4 times, 1 month ago
Once, 3 months ago
6 times, 5 months ago
4 times, 6 months ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.