> From: giocarmine [mailto:giocarm...@gmail.com] > Subject: Tomcat and MySQL > > i've developed a web application, it runs on Tomcat 5.5.4
Step 1: upgrade. 5.5.4 is over five years old and innumerable bugs and security issues have been fixed since then. > It seems that the connection with MySQL it's closed by the > driver due to a timeout. Not by the driver, but by the MySQL server. Besides the autoReconnect setting, read the commons-dbcp doc and try the testOnBorrow and validationQuery settings: http://commons.apache.org/dbcp/configuration.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org