Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2070

Crowd does not shutdown cleanly when stopped via the tomcat application manager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Low
    • None
    • 2.0.7, 2.7, 2.8.4
    • User Console
    • Apache Tomcat 7.0.40

    Description

      Crowd does not shutdown cleanly when stopped via the tomcat application manager. Exception in the log:

      Nov 8, 2010 11:31:30 AM org.apache.coyote.http11.Http11Protocol pause
      INFO: Pausing Coyote HTTP/1.1 on http-8096
      Nov 8, 2010 11:31:31 AM org.apache.catalina.core.StandardService stop
      INFO: Stopping service Catalina
      log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
      Nov 8, 2010 11:31:32 AM org.apache.catalina.loader.WebappClassLoader clearReferencesStopTimerThread
      SEVERE: A web application appears to have started a TimerThread named [Timer-4] via the java.util.Timer API but has failed to stop it. To prevent a me
      mory leak, the timer (and hence the associated thread) has been forcibly cancelled.
      Nov 8, 2010 11:31:32 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
      SEVERE: A web application appears to have started a thread named [HSQLDB Timer @17afcff] but has failed to stop it. This is very likely to create a me
      mory leak.
      Nov 8, 2010 11:31:32 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@137c834]) and a value of type [
      org.dom4j.DocumentFactory] (value [org.dom4j.DocumentFactory@138fec2]) but failed to remove it when the web application was stopped. To prevent a memo
      ry leak, the ThreadLocal has been forcibly removed.
      log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
      2010-11-08 11:31:33,061 Thread-14 INFO [util.persistence.hibernate.ConfigurableLocalSessionFactoryBean] Closing Hibernate SessionFactory
      2010-11-08 11:31:33,078 Thread-14 WARN [net.sf.ehcache.CacheManager] CacheManager already shutdown
      2010-11-08 11:31:33,081 Thread-14 INFO [com.atlassian.crowd.startup] Stopping Crowd
      Nov 8, 2010 11:31:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
      SEVERE: A web application registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prev
      ent a memory leak, the JDBC Driver has been forcibly unregistered.
      Nov 8, 2010 11:31:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
      SEVERE: A web application appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very
      likely to create a memory leak.
      Nov 8, 2010 11:31:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
      SEVERE: A web application appears to have started a thread named [Thread-19] but has failed to stop it. This is very likely to create a memory leak.
      Nov 8, 2010 11:31:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: A web application created a ThreadLocal with key of type [org.apache.commons.lang.builder.ToStringStyle$1] (value [org.apache.commons.lang.bui
      lder.ToStringStyle$1@527035]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. To pr
      event a memory leak, the ThreadLocal has been forcibly removed.
      Nov 8, 2010 11:31:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@44b0f8]) and a value of type [o
      rg.dom4j.DocumentFactory] (value [org.dom4j.DocumentFactory@1be9c2f]) but failed to remove it when the web application was stopped. To prevent a memor
      y leak, the ThreadLocal has been forcibly removed.
      Nov 8, 2010 11:31:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: A web application created a ThreadLocal with key of type [org.apache.commons.lang.builder.ToStringStyle$1] (value [org.apache.commons.lang.bui
      lder.ToStringStyle$1@527035]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. To pr
      event a memory leak, the ThreadLocal has been forcibly removed.
      Nov 8, 2010 11:31:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: A web application created a ThreadLocal with key of type [org.apache.commons.lang.builder.ToStringStyle$1] (value [org.apache.commons.lang.bui
      lder.ToStringStyle$1@527035]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. To pr
      event a memory leak, the ThreadLocal has been forcibly removed.
      Nov 8, 2010 11:31:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: A web application created a ThreadLocal with key of type [org.apache.commons.lang.builder.ToStringStyle$1] (value [org.apache.commons.lang.bui
      lder.ToStringStyle$1@527035]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. To pr
      event a memory leak, the ThreadLocal has been forcibly removed.
      Nov 8, 2010 11:31:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: A web application created a ThreadLocal with key of type [org.apache.commons.lang.builder.ToStringStyle$1] (value [org.apache.commons.lang.bui
      lder.ToStringStyle$1@527035]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. To pr
      event a memory leak, the ThreadLocal has been forcibly removed.
      log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
      Nov 8, 2010 11:31:34 AM org.apache.coyote.http11.Http11Protocol destroy
      INFO: Stopping Coyote HTTP/1.1 on http-8096
      

      Similar issue in the forum thread:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zyap Zed Yap [Atlassian]
              Votes:
              14 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: