Re: Tomcat DBCP : testOnBorrow not working (?)

2010-03-10 Thread Konstantin Kolinko
2010/3/10 José Paumard : > To be sure that DBCP is not providing closed connections to Hibernate, I > added the following to the Resource element, but with no success : (...) Note, that META-INF/context.xml of a web application is copied to ${catalina.base}/conf/Catalina/localhost/.xml when your a

Tomcat DBCP : testOnBorrow not working (?)

2010-03-10 Thread José Paumard
Hello all, Here is my problem. I have a very classical configuration where a webapp with some Hibernate code in it accesses a MySQL DB. Everything is installed in Tomcat 6. After some time, Hibernate complains about dropped connections, the error message looks like this : com.mysql.jdbc.Comm