Re: Re : Connection Closed Issue

2009-09-16 Thread Chetouani
Do you have the validation query specified. I believe putting in the validation query should solve the problem. On Wed, Sep 16, 2009 at 11:17 AM, Chetouani wrote: > Hi, > > I had a similar problem. > I was using tomcat and mysql and configured a connection pool using dbcp. > The problem

Re : How do I get hold of Tomcat JDBC pool lib

2009-09-16 Thread Chetouani
What about c3p0 ? --- En date de : Mer 16.9.09, Gaurav Lohiya a écrit : De: Gaurav Lohiya Objet: How do I get hold of Tomcat JDBC pool lib À: users@tomcat.apache.org Date: Mercredi 16 Septembre 2009, 17h18 Hi, I recently heard about the new Tomcat JDBC library, an alternative for the DBCP lib

Re : Connection Closed Issue

2009-09-16 Thread Chetouani
Hi, I had a similar problem. I was using tomcat and mysql and configured a connection pool using dbcp. The problem was that after some hours the application starts to throw an exception. The exception was : communication link failure The reason is that mysql is destroying the connectionz after s

Re: tomcat mysql dbcp Communications link failure

2009-09-15 Thread Chetouani
returning the connection to the pool for another request later. --David Chetouani wrote: > 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 thro

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