commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conrad CRAMPTON PSE 52704" <>
Subject pool - cleaning up resources on JVM exit
Date Fri, 30 Mar 2007 13:18:28 GMT
Is there anyway of clearing up resources from a GenericObjectPool when
the JMV closes (crashes)? I have objects that maintain a connection to a
service that need to be closed when the web server is restarted or
Also, if an object is borrowed from the pool and isn't returned because
of interruption in the web application flow or some other reason, does
it get 'swept up' by the evictor thread eventually or is there some
other way of returning this to the pool or simply just destroying it for
it to be recreated in the pool when necessary?
Thanks for your consideration

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message