Results 1 to 2 of 2
  1. #1
    Ram_TPS is offline Member
    Join Date
    Oct 2008
    Posts
    1
    Rep Power
    0

    Default java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]System Exception: Connection

    Hi Friends,

    Here my problem is "java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]System Exception: Connection reset by peer: socket write error
    ".

    I'm receiving the above error from my application. ( i.e )my application is communicating with Sql Server continously, and there is no request for a long time from my application to SqlServer and if i tried any request to Sql Server. im getting this error.


    I just want to know, is the problem is from Sql Server side or from my application.

    Whatever it is please help me to solve this. I couldn't able to reproduce this problem.

    S. Ramkumar

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    8

    Default

    Quote Originally Posted by Ram_TPS View Post
    my application is communicating with Sql Server continously, and there is no request for a long time from my application to SqlServer and if i tried any request to Sql Server. im getting this error.
    Sounds like you're getting a timed out session so the server is closing the connection. Use a connection pool.

Similar Threads

  1. java.sql.SQLException: Closed Connection
    By sunjavaboy in forum JDBC
    Replies: 4
    Last Post: 03-21-2012, 01:38 PM
  2. Replies: 6
    Last Post: 09-01-2010, 11:29 AM
  3. Replies: 1
    Last Post: 08-06-2007, 09:24 PM
  4. JDBC driver connection problem
    By creativehacker in forum JDBC
    Replies: 3
    Last Post: 07-10-2007, 09:58 PM
  5. SQLServer 2000 EXCEPTION
    By Heather in forum JDBC
    Replies: 3
    Last Post: 06-29-2007, 03:10 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
  •