Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1656

ModeShape does not seem to shutdown infinispan cleanly

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.CR1
    • 3.0.0.Beta4
    • JCR
    • 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.

              rhauch Randall Hauch (Inactive)
              kstam@redhat.com Kurt Stam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: