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
What about c3p0 ?
--- En date de : Mer 16.9.09, Gaurav Lohiya gloh...@gmail.com a écrit :
De: Gaurav Lohiya gloh...@gmail.com
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
at 11:17 AM, Chetouani kchet...@yahoo.fr wrote:
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
last question ... is there any chance your
code is holding on to connections as opposed to closing them when done?
Closing from the app's point of view is just returning the connection to
the pool for another request later.
--David
Chetouani wrote:
Hello guys,
If you can help
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