Rainer Jung-3 wrote:
> 
> 
> You might want to look at Bloch's book "Effective Java", which has a
> section called "Avoid finalizers". The page
> 
> http://java.sun.com/developer/technicalArticles/javase/finalization/
> 
> also has some introductory material.
> 
> The dbcp pool for instance has a mechanism which checks for non-closed
> connections (abanoned connections) and forcibly closes them. The way it
> tracks them, is taking a timstamp when they got returned by the pool to
> the app and simply checking, whether a connection stays outside of the
> pool for to long. In some cases this is adequate.
> 
> 

Thanks a lot for your help, I'm going to read up about that !
Raphael
-- 
View this message in context: 
http://www.nabble.com/Blocked-threads-in-Tomcat-web-app-tp24457682p24461413.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to