-
Feature Request
-
Resolution: Done
-
Major
-
3.0.0.Beta4
-
None
When running in Tomcat, configuring ModeShape to use an Infinispan cache store, and shutting down ModeShape, Tomcat still warns of the following:
Oct 2, 2012 3:07:57 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/s-ramp-atom] appears to have started a thread named [INCompressor] but has failed to stop it. This is very likely to create a memory leak. Oct 2, 2012 3:07:57 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/s-ramp-atom] appears to have started a thread named [Cleaner-1] but has failed to stop it. This is very likely to create a memory leak. Oct 2, 2012 3:07:57 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/s-ramp-atom] appears to have started a thread named [Checkpointer] but has failed to stop it. This is very likely to create a memory leak. Oct 2, 2012 3:07:57 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/s-ramp-atom] appears to have started a thread named [Scheduled-eviction-thread-0] but has failed to stop it. This is very likely to create a memory leak. Oct 2, 2012 3:07:57 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/s-ramp-atom] appears to have started a thread named [Scheduled-eviction-thread-1] but has failed to stop it. This is very likely to create a memory leak. Oct 2, 2012 3:07:57 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/s-ramp-atom] appears to have started a thread named [persisted-repository-BdbjeCacheStore-0] but has failed to stop it. This is very likely to create a memory
It looks like Modeshape is not shutting down Infinispan correctly.
Note that it does not prevent Tomcat from shutting down.