-
Bug
-
Resolution: Unresolved
-
Major
-
Tomcat 6.0.29
Tomcat 7.0.14
Tomcat 7.0.50
Jenkins 1.595
Java 1.7
Occasionally, I get the following log statements in catalina.out while stopping Tomcat where my Hudson.war is deployed.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/hudson] appears to have started a thread named [com.google.common.base.internal.Finalizer] but has failed to stop it. This is very likely to create a memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [null] (value [org.kohsuke.stapler.Stapler$1@1ae637f0]) and a value of type [java.text.SimpleDateFormat] (value [java
.text.SimpleDateFormat@c4dc9900]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@627b5c]) and a value of type [org.acegisecurity.context.Securit
yContextImpl] (value [org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. This is very likely to create a
memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [null] (value [net.sf.json.AbstractJSON$1@4190d536]) and a value of type [java.util.HashSet] (value [[]]) but failed
to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [null] (value [org.kohsuke.stapler.Stapler$1@1ae637f0]) and a value of type [java.text.SimpleDateFormat] (value [java
.text.SimpleDateFormat@c4dc9900]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@627b5c]) and a value of type [org.acegisecurity.context.Securit
yContextImpl] (value [org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. This is very likely to create a
memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [null] (value [org.kohsuke.stapler.Stapler$1@1ae637f0]) and a value of type [java.text.SimpleDateFormat] (value [java
.text.SimpleDateFormat@c4dc9900]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@627b5c]) and a value of type [org.acegisecurity.context.Securit
yContextImpl] (value [org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. This is very likely to create a
memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [null] (value [net.sf.json.AbstractJSON$1@4190d536]) and a value of type [java.util.HashSet] (value [[]]) but failed
to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [null] (value [org.kohsuke.stapler.Stapler$1@1ae637f0]) and a value of type [java.text.SimpleDateFormat] (value [java
.text.SimpleDateFormat@c4dc9900]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@627b5c]) and a value of type [org.acegisecurity.context.Securit
yContextImpl] (value [org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. This is very likely to create a
memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [null] (value [org.kohsuke.stapler.Stapler$1@1ae637f0]) and a value of type [java.text.SimpleDateFormat] (value [java
.text.SimpleDateFormat@c4dc9900]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@627b5c]) and a value of type [org.acegisecurity.context.Securit
yContextImpl] (value [org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. This is very likely to create a
memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [null] (value [org.kohsuke.stapler.Stapler$1@1ae637f0]) and a value of type [java.text.SimpleDateFormat] (value [java
.text.SimpleDateFormat@c4dc9900]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Aug 10, 2010 12:45:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/hudson] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@627b5c]) and a value of type [org.acegisecurity.context.Securit
yContextImpl] (value [org.acegisecurity.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. This is very likely to create a
memory leak.
Aug 10, 2010 12:45:35 PM org.apache.coyote.http11.Http11Protocol destroy
----------------------------------------------------------------------------------
Perhaps it is better to use WeakHashMaps in the said ThreadLocals?
- is duplicated by
-
JENKINS-12291 Multiple memory leaks while stopping jenkins on tomcat
-
- Resolved
-
[JENKINS-7175] Intermittent log messages while unregistering Hudson app/stopping Tomcat ...
Environment | Original: Tomcat 6.0.29 |
New:
Tomcat 6.0.29 Tomcat 7.0.14 |
Link |
New:
This issue is duplicated by |
Environment |
Original:
Tomcat 6.0.29 Tomcat 7.0.14 |
New:
Tomcat 6.0.29 Tomcat 7.0.14 Tomcat 7.0.50 Jenkins 1.595 Java 1.7 |
Labels | New: 1.595 memory-leak tomcat |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Workflow | Original: JNJira [ 137273 ] | New: JNJira + In-Review [ 174669 ] |