-
Bug
-
Resolution: Done
-
Major
-
2.2.15.Final
-
None
I'm getting ThreadLocal leaks during Tomcat reload when using the latest WELD:
Aug 21, 2015 2:42:10 PM org.apache.catalina.core.StandardContext reload
INFORMATION: Reloading Context with name [/webapp] has started
Aug 21, 2015 2:42:10 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [webapp] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@e6a486]) and a value of type [org.jboss.weld.context.AbstractManagedContext.ManagedState] (value [org.jboss.weld.context.AbstractManagedContext$ManagedState@30506b]) 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.
[...]