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
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
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
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
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