Re: Tomcat7 - ajax and connection pool : "connection closed" despite the use of "validationQuery" and "testOnBorrow"

2013-04-05 Thread Jean-Claude Haw-King-Chon
Le 05/04/2013 13:09, Konstantin Kolinko a écrit : 2013/4/5 Jean-Claude Haw-King-Chon : Hi, I use the connection pool of tomcat7 and set a connection in a ThreadLocal. The context is a web application : the threadLocal is configured when the http request is initialized. The jdbc connection is

Re: Tomcat7 - ajax and connection pool : "connection closed" despite the use of "validationQuery" and "testOnBorrow"

2013-04-05 Thread Jean-Claude Haw-King-Chon
rs : is it a bad practice? Jean-Claude HAW-KING-CHON *MédiFirst ** **Immeuble LE SESAME** *8 rue Germain Soufflot 78180 Montigny le Bretonneux *Hotline Support: 01 79 85 39 40* Le 05/04/2013 12:40, Michael-O a écrit : Am 2013-04-05 11:37, schrieb Jean-Claude Haw-King-Chon: Hi, I use the connection

Tomcat7 - ajax and connection pool : "connection closed" despite the use of "validationQuery" and "testOnBorrow"

2013-04-05 Thread Jean-Claude Haw-King-Chon
Hi, I use the connection pool of tomcat7 and set a connection in a ThreadLocal. The context is a web application : the threadLocal is configured when the http request is initialized. The jdbc connection is closed and removed from the threadLocal when the resquest is destroyed. If I'm not mi