java.net.SocketException MESSAGE: Connection reset

Reply

Join Date: Jan 2006
Posts: 3
Reputation: ronb722 is an unknown quantity at this point 
Solved Threads: 0
ronb722 ronb722 is offline Offline
Newbie Poster

java.net.SocketException MESSAGE: Connection reset

 
0
  #1
May 15th, 2006
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, 4 views)
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 2
Reputation: miteshb is an unknown quantity at this point 
Solved Threads: 0
miteshb miteshb is offline Offline
Newbie Poster

Re: java.net.SocketException MESSAGE: Connection reset

 
0
  #2
May 17th, 2006
hi

i think , u r excuteing query after connection is closed .
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 3
Reputation: ronb722 is an unknown quantity at this point 
Solved Threads: 0
ronb722 ronb722 is offline Offline
Newbie Poster

Re: java.net.SocketException MESSAGE: Connection reset

 
0
  #3
May 17th, 2006
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC