commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <>
Subject Re: [DBCP] AbandonedTrace - Connection Recovery
Date Mon, 21 Jul 2003 15:50:38 GMT
> > So, what are these more effective ways to prevent pages?  
> Not deploying code with resource leaks, training developers on proper
> resource cleanup, calling developers responsible for the resource leak
> in
> the middle of the night to help you fix the problem, etc.

I forgot one:
If apps are leaking database connections, just setup a different
DataSource for each app.  That way they will only affect themselves and
not bring down other apps.  The database will eventually close connections
on its own so the only real issue is the leak in the apps.

You could go even further and only give suspect applications a very
limited number of connections in the pool (ie. 2) until they prove they're
not leaking connections.

This is much more of a policy/management problem than one that can be
solved in DBCP.


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message