On 11/06/2010 14:13, Marcus Better wrote: > Hi, > > I run a Grails app on Tomcat 6.0.26 (OpenJDK 6, Debian). When undeploying, > it reports several leaked objects, including a timer thread that was left > running. > > This thread belongs to EhCache, and by inspecting the code, it looks like > the timer should be cancelled properly when the application is shut down. > Therefore I suspect that it might be a false positive. Is this likely or > not?
It's possible. Can you build a small test case in web app form that replicates this? p > The app uses Spring's EhCacheManagerFactoryBean, which calls > EhCacheManager.shutdown() during application context shutdown. That in turn > calls cancel() and purge() on the Timer. > > Cheers, > > Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
signature.asc
Description: OpenPGP digital signature