Re: tomcat mysql dbcp Communications link failure

2009-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetouani, On 9/15/2009 6:38 PM, Chetouani wrote: Thanks for your answer. At the moment I don't have the stack trace but it something like # com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

Re: tomcat mysql dbcp Communications link failure

2009-09-15 Thread Chetouani
/bean If you have an idea or questions... Thanks for you help --- En date de : Lun 14.9.09, David Smith d...@cornell.edu a écrit : De: David Smith d...@cornell.edu Objet: Re: tomcat mysql dbcp Communications link failure À: Tomcat Users List users@tomcat.apache.org Date: Lundi 14 Septembre 2009

tomcat mysql dbcp Communications link failure

2009-09-13 Thread Chetouani
Hello guys, If you can help with this problem. I have an application deployed on tomcat V6.18. It uses a mysql database. The problem is that after some hours the applicatiion throws an exception when trying to connect to the data base. com.mysql.jdbc.CommunicationsException: Communications

Re: tomcat mysql dbcp Communications link failure

2009-09-13 Thread David Smith
Could you provide the full stack trace? And if possible, can you describe time it takes as it relates to the timeout of your MySQL server? The default timeout in MySQL is 8 hours, but is configurable. Also I'm assuming all the ${...} stuff is just you sanitizing the Resource ... / block. One