aspose file tools
The moose likes JDBC and the fly likes getting I/O Error: DB server closed connection Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "getting I/O Error: DB server closed connection" Watch "getting I/O Error: DB server closed connection" New topic
Author

getting I/O Error: DB server closed connection

ivin jacob
Greenhorn

Joined: Apr 05, 2006
Posts: 23
I am getting the Following exception while trying to connect to the SQLSErver DB

I am using jtds-1.2.2.jar File.

I am using Windows Authentication and i am able to connect though the SQL SErver Client Application

I complete stack trace is pasted below

org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (I/O Error: DB server closed connection.)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at sgstool.dbConnection.DBConnector.getSimpleConnection(DBConnector.java:43)

Can anybody tell me why this is occuring and tell me how this can be tackled

Regards,

Ivin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting I/O Error: DB server closed connection
 
Similar Threads
java.sql.SQLException: I/O Error: DB server closed connection
JDBC Confusion
Configuring jTDS in WebSphere Application Server 6.0
Problem getting DB Connection from Datasource in OpenEJB
Cannot create JDBC driver of class '' for connect URL 'null'