Re: JNDI DataSource Leaks

2009-08-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicholas, On 8/7/2009 4:39 PM, Nicholas Sushkin wrote: > On Friday 07 August 2009 10:53, Christopher Schultz wrote: > >> Recently, there was a post on the list regarding connection pool leakage >> from Tomcat (ref: >> http://www.nabble.com/Right-way-

Re: JNDI DataSource Leaks

2009-08-07 Thread Nicholas Sushkin
On Friday 07 August 2009 10:53, Christopher Schultz wrote: > Recently, there was a post on the list regarding connection pool leakage > from Tomcat (ref: > http://www.nabble.com/Right-way-to-close-database-connection-pool-td24832 >197.html). This is the code I picked up from http://wiki.apache.or

Re: JNDI DataSource Leaks

2009-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kees Jan, On 8/7/2009 12:44 PM, Kees Jan Koster wrote: > I have to restart Tomcat regularly because it exhausted my MySQL > connections. Show processlist confirms the problem. > > I use Hibernate. Do you? No, I just use straight JDBC in all my code.

Re: JNDI DataSource Leaks

2009-08-07 Thread Kees Jan Koster
Dear Chris, I have to restart Tomcat regularly because it exhausted my MySQL connections. Show processlist confirms the problem. I use Hibernate. Do you? I'll dig deeper later when I have more time. Kees Jan On 7 aug 2009, at 16:53, Christopher Schultz > wrote: -BEGIN PGP SIGNED MES