[ 
https://issues.apache.org/jira/browse/ISIS-862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andi Huber resolved ISIS-862.
-----------------------------
       Resolution: Resolved
         Assignee: Andi Huber
    Fix Version/s:     (was: 3.0.0)
                   2.0.0-M1

Any thread pool executors created with an application must be shut down at the 
end of application's life-cycle.

See related issue info.

> Warnings for memory leaks when quitting Tomcat
> ----------------------------------------------
>
>                 Key: ISIS-862
>                 URL: https://issues.apache.org/jira/browse/ISIS-862
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: core-1.6.0
>            Reporter: Dan Haywood
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M1
>
>
> Here's the full console ouput:
> SEVERE: The web application [] appears to have started a thread named 
> [com.google.inject.internal.util.$Finalizer] but has failed to stop it. This 
> is very likely to create a memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [] appears to have started a thread named 
> [Timer-1] but has failed to stop it. This is very likely to create a memory 
> leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [] appears to have started a thread named 
> [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has 
> failed to stop it. This is very likely to create a memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [] appears to have started a thread named 
> [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has 
> failed to stop it. This is very likely to create a memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [] appears to have started a thread named 
> [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has 
> failed to stop it. This is very likely to create a memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [] appears to have started a thread named 
> [Timer-2] but has failed to stop it. This is very likely to create a memory 
> leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [] appears to have started a thread named 
> [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has 
> failed to stop it. This is very likely to create a memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [] appears to have started a thread named 
> [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has 
> failed to stop it. This is very likely to create a memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [] appears to have started a thread named 
> [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has 
> failed to stop it. This is very likely to create a memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.google.inject.internal.InjectorImpl$1] (value 
> [com.google.inject.internal.InjectorImpl$1@b76c70]) and a value of type 
> [java.lang.Object[]] (value [[Ljava.lang.Object;@a302d6e]) but failed to 
> remove it when the web application was stopped. Threads are going to be 
> renewed over time to try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.google.inject.internal.InjectorImpl$1] (value 
> [com.google.inject.internal.InjectorImpl$1@b76c70]) and a value of type 
> [java.lang.Object[]] (value [[Ljava.lang.Object;@60f695fb]) but failed to 
> remove it when the web application was stopped. Threads are going to be 
> renewed over time to try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.shiro.util.ThreadContext.InheritableThreadLocalMap] (value 
> [org.apache.shiro.util.ThreadContext$InheritableThreadLocalMap@21180655]) and 
> a value of type [java.util.HashMap] (value 
> [{org.apache.shiro.util.ThreadContext_SUBJECT_KEY=org.apache.shiro.web.subject.support.WebDelegatingSubject@3047c76c,
>  
> org.apache.shiro.util.ThreadContext_SECURITY_MANAGER_KEY=org.apache.shiro.web.mgt.DefaultWebSecurityManager@38759c37}])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.shiro.util.ThreadContext.InheritableThreadLocalMap] (value 
> [org.apache.shiro.util.ThreadContext$InheritableThreadLocalMap@21180655]) and 
> a value of type [java.util.HashMap] (value 
> [{org.apache.shiro.util.ThreadContext_SUBJECT_KEY=org.apache.shiro.web.subject.support.WebDelegatingSubject@3047c76c,
>  
> org.apache.shiro.util.ThreadContext_SECURITY_MANAGER_KEY=org.apache.shiro.web.mgt.DefaultWebSecurityManager@38759c37}])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.shiro.util.ThreadContext.InheritableThreadLocalMap] (value 
> [org.apache.shiro.util.ThreadContext$InheritableThreadLocalMap@21180655]) and 
> a value of type [java.util.HashMap] (value 
> [{org.apache.shiro.util.ThreadContext_SUBJECT_KEY=org.apache.shiro.web.subject.support.WebDelegatingSubject@3047c76c,
>  
> org.apache.shiro.util.ThreadContext_SECURITY_MANAGER_KEY=org.apache.shiro.web.mgt.DefaultWebSecurityManager@38759c37}])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.shiro.util.ThreadContext.InheritableThreadLocalMap] (value 
> [org.apache.shiro.util.ThreadContext$InheritableThreadLocalMap@21180655]) and 
> a value of type [java.util.HashMap] (value 
> [{org.apache.shiro.util.ThreadContext_SUBJECT_KEY=org.apache.shiro.web.subject.support.WebDelegatingSubject@3047c76c,
>  
> org.apache.shiro.util.ThreadContext_SECURITY_MANAGER_KEY=org.apache.shiro.web.mgt.DefaultWebSecurityManager@38759c37}])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.google.inject.internal.InjectorImpl$1] (value 
> [com.google.inject.internal.InjectorImpl$1@b76c70]) and a value of type 
> [java.lang.Object[]] (value [[Ljava.lang.Object;@3162fbd6]) but failed to 
> remove it when the web application was stopped. Threads are going to be 
> renewed over time to try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.google.inject.internal.InjectorImpl$1] (value 
> [com.google.inject.internal.InjectorImpl$1@b76c70]) and a value of type 
> [java.lang.Object[]] (value [[Ljava.lang.Object;@5983b7ee]) but failed to 
> remove it when the web application was stopped. Threads are going to be 
> renewed over time to try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.google.inject.internal.InjectorImpl$1] (value 
> [com.google.inject.internal.InjectorImpl$1@b76c70]) and a value of type 
> [java.lang.Object[]] (value [[Ljava.lang.Object;@56a0982b]) but failed to 
> remove it when the web application was stopped. Threads are going to be 
> renewed over time to try and avoid a probable memory leak.
> Apr 11, 2013 11:06:39 AM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1] (value 
> [org.apache.isis.security.shiro.authorization.IsisPermission$1@b689b7a]) and 
> a value of type [java.util.TreeMap] (value [{}]) but failed to remove it when 
> the web application was stopped. Threads are going to be renewed over time to 
> try and avoid a probable memory leak.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to