-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwSNpIACgkQXjXn6TzcAQnjvgCg6K4tHVM9v2hFB4IBOYnPOeij
7EEAoI/5JtwAbb3BvD5JP/cvmOZWvlBw
=tsrG
-----END PGP SIGNATURE-----



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

Reply via email to