aspose file tools*
The moose likes JDBC and the fly likes java.sql.SQLException: I/O Error: DB server closed connection    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java.sql.SQLException: I/O Error: DB server closed connection    " Watch "java.sql.SQLException: I/O Error: DB server closed connection    " New topic
Author

java.sql.SQLException: I/O Error: DB server closed connection

Tom Silkins
Greenhorn

Joined: Jul 17, 2008
Posts: 3
Hey,

I am getting this exception:

java.sql.SQLException: I/O Error: DB server closed connection.
Wed Jul 16 14:26:41 EDT 2008: authorizedUser: FAILED: java.sql.SQLException: I/O Error: DB server closed connection.
java.sql.SQLException: I/O Error: DB server closed connection.

Can you please let me know what might be the cause of the error and how to resolve this.
Database: SQL Server
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

What caused it was a particular line of code in your program. You should have a stack trace which tells you which line of code that was. Start looking there. If you still can't identify the fault, then post the information.
Tom Silkins
Greenhorn

Joined: Jul 17, 2008
Posts: 3
Hey Thanks for replying.
But here we have many clients and it is working for all the other clients and failing for one particular client. I am not sure what the problem is. I will also cross check my code.

Thanks!
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

The places it's working don't matter (yet). Look at the place where it isn't working. And find the stack trace which was associated with the error message.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.sql.SQLException: I/O Error: DB server closed connection