0 Replies Latest reply on Jan 7, 2013 7:20 AM by srikant vege

    jbpm-console started threads and can not be stopped correctly on tomcat shutdown

    srikant vege Newbie

      Hi,

       

      I am using jbpm 5.2, tomcat 6, MySql database with BTM transaction manager in Linux (Ubuntu) machine.

       

      I am getting the below issue on tomcat shutdown. it seems like Jbpm-Console is starting some threads and those threads can not be stopped correctly on tomcat shutdow. It results to taking all my CPU memory.

       

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] appears to have started a thread named [com.google.inject.internal.Finalizer] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] appears to have started a thread named [Thread-7] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] appears to have started a thread named [Dispatch Worker Thread] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] appears to have started a thread named [Dispatch Worker Thread] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] appears to have started a thread named [Dispatch Worker Thread] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] appears to have started a thread named [Dispatch Worker Thread] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] appears to have started a thread named [Dispatch Worker Thread] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] appears to have started a thread named [Thread-8] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] appears to have started a thread named [ExecutorPoolWorker] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

      SEVERE: The web application [/gwt-console] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@1f957352]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@cc61cb1]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

      SEVERE: The web application [/gwt-console] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@2285af04]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@76a54150]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

      SEVERE: The web application [/gwt-console] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@5b63280a]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@4ad9d765]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

      SEVERE: The web application [/gwt-console] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@23cc4e47]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3a2729ad]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

      SEVERE: The web application [/gwt-console] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@61213aae]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@4c93a753]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

      SEVERE: The web application [/gwt-console] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@71ce616b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@245df22c]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

      SEVERE: The web application [/gwt-console] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$1] (value [com.google.inject.InjectorImpl$1@13c6395b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3adf8f81]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console-server] appears to have started a thread named [pool-4-thread-1] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

      SEVERE: The web application [/gwt-console-server] appears to have started a thread named [NioProcessor-2] but has failed to stop it. This is very likely to create a memory leak.

      04-Jan-2013 12:37:32 org.apache.coyote.http11.Http11Protocol destroy

       

      Please help me on resoving this issue.

       

      Thanks,

      Srikant.