Debugging C3P0 connection leaks

In the past, I’ve seen C3P0 hold on to connections for longer than it ought to, and often in a non-deterministic pattern, especially in J2EE environments.  I’ve usually investigated these using by enabling debugs to track  when database sessions are checked out/in . Hopefully, the following will help me debug the issue faster the next time I have to investigate these kind of issues.
http://www.fromdev.com/2010/11/how-to-debug-connection-leaks-in-c3p0.html

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s