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 exceptio

Re: tomcat mysql dbcp Communications link failure

2009-09-15 Thread Chetouani
: David Smith Objet: Re: tomcat mysql dbcp Communications link failure À: "Tomcat Users List" Date: Lundi 14 Septembre 2009, 4h47 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 timeo

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 block. One last question ..

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 link