-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arrow,

On 6/17/2009 10:44 AM, Arrowx7 wrote:
> Using mysql JDBC driver.  Somewhere in the appilcation, the connections are
> drawn from the DBCP pool, and never returned.  I did
> dataSource.getNumActive() and dataSource.getNumIdle().  There are 2 idle
> connections, and 88 active connections.  Somewhere in my web application a
> process does not close the connection and return it to pool.  there a way to
> print stack trace the current active connections or something to find where
> it's leaky?

Filip and Barry both have good suggestions. I wrote a blog post a while
back about how to code things properly, and my "tips" section mentions
how to find leaks.

http://blog.christopherschultz.net/?p=68

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAko5LJAACgkQ9CaO5/Lv0PBTuQCeI3nlNBD+QLEGbXYPJ5ly2lFS
KZIAn3FUc9UwS9lJu2i2KZCH+ybCpwf5
=403c
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to