tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8644] - Mysql-Connection (Servlet) Problem (Timeout ?)
Date Tue, 30 Apr 2002 12:12:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8644>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8644

Mysql-Connection (Servlet) Problem (Timeout ?)

glenn@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From glenn@apache.org  2002-04-30 12:12 -------
I looked at your code. This is not a bug in Tomcat, it is a problem in
your servlet.  MySQL has a limit for how long it will keep an idle db
connection open, the default is 8 hours.  Your code never tries to reopen
the db connection if it gets closed from the db side.  You might consider
using a db connection pool instead of your own code for managing db connections.
For further assistance please use the tomcat-user list.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message