Results 1 to 2 of 2
  1. #1
    bbq is offline Senior Member
    Join Date
    Jun 2007
    Rep Power

    Default error I/O connection

    I have a web system with java 1.5, tomcat 5.5, sql server 2003, it works but when there is a data base access it takes a long time !
    and after a few minutes I receive this error

    Java Code:
    ERROR:: Servlet.service()
    javax.servlet.ServletException: java.sql.SQLException: I/O Error: Connection reset
    at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCor
    at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.ja va:599)
    at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(C
    at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(C
    at net.sourceforge.jtds.jdbc.Driver.connect(Driver.ja va:178)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    any ideas?

  2. #2
    Ed is offline Senior Member
    Join Date
    Jun 2007
    Rep Power


    Do you work with servlet?
    If yo work with servlet, did you include servlet.jar in the classpath?
    check line 227, there is the error.

Similar Threads

  1. Replies: 3
    Last Post: 04-13-2010, 03:43 PM
  2. connection problem
    By subash in forum JDBC
    Replies: 5
    Last Post: 04-22-2008, 09:17 AM
  3. no connection
    By even in forum JDBC
    Replies: 15
    Last Post: 01-02-2008, 02:50 PM
  4. connection pool for db2
    By paty in forum JDBC
    Replies: 1
    Last Post: 08-06-2007, 02:43 AM
  5. S.O.S SyBase Connection
    By Marty in forum JDBC
    Replies: 2
    Last Post: 05-14-2007, 04:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts