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

ModeShape does not seem to shutdown infinispan cleanly

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.Beta4
    • Fix Version/s: 3.0.0.CR1
    • Component/s: JCR
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rhauch Randall Hauch
                Reporter:
                kurtstam Kurt Stam
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: