944,093 Members | Top Members by Rank

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 9071
  • MySQL RSS
May 15th, 2006
0

java.net.SocketException MESSAGE: Connection reset

Expand Post »
Hi all,
I am seeing the following error in my tomcat log file. Please see the attached file for the full error with stack trace. When I first bounce the server all is ok. After running for some time (I haven't yet been able to determine the exact amount of time) I start see this error. Any ideas?

Ron

[ERROR] JDBCExceptionReporter - No operations allowed after connection closed.

Connection was closed due to the following exception:

** BEGIN NESTED EXCEPTION **

java.sql.SQLException
MESSAGE: Communication link failure: java.net.SocketException, underlying cause: Connection reset

** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: Connection reset

STACKTRACE:
Attached Files
File Type: txt erros.txt (20.1 KB, 42 views)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ronb722 is offline Offline
3 posts
since Jan 2006
May 17th, 2006
0

Re: java.net.SocketException MESSAGE: Connection reset

hi

i think , u r excuteing query after connection is closed .
Reputation Points: 10
Solved Threads: 0
Newbie Poster
miteshb is offline Offline
2 posts
since May 2006
May 17th, 2006
0

Re: java.net.SocketException MESSAGE: Connection reset

I don't believe the problem is in the code. Here is why: When I first bounce the tomcat service, the site will run fine for several days. Then out of the blue, we start to get null pointer errors and wee start seeing the above errors in the log. If you hit the reload button on the web browser, the page will come up. I've done some searching on the net, and the problem appears to be that our connection pooling is dropping the connection. I added some parameters to the connection pooling in my hibernate file and bounced the service on Monday. Just waiting to see if I get the null pointer error or not.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ronb722 is offline Offline
3 posts
since Jan 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MySQL Forum Timeline: online database help
Next Thread in MySQL Forum Timeline: Mysql problem-HEELPP!!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC