我在Tomcat的7
Web應用程序時我關閉Tomcat我看到這些警告(但不總是)catalina.out中的這些警告是什麼?
SEVERE: The web application [/MyApplication] created a ThreadLocal
with key of type
[org.apache.xml.security.algorithms.MessageDigestAlgorithm$1] (value
[[email protected]2e2c])
and a value of type [java.util.HashMap] (value
[{http://www.w3.org/2000/09/xmldsig#sha1=MESSAGE DIGEST SHA-1}]) 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 3, 2012 1:56:19 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks SEVERE: The web application
[/MyApplication] created a ThreadLocal with key of type
[com.sun.xml.bind.v2.ClassFactory$1] (value
[[email protected]]) and a value of type
[java.util.WeakHashMap] (value [{class
[email protected]b17eb,
class
javax.xml.bind.a[email protected]178a178a,
class
[email protected]1c181c,
class
c[email protected]17711771,
class
c[email protected]17011701}])
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 3, 2012 1:56:19 PM
org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks SEVERE: The web application
[/MyApplication] created a ThreadLocal with key of type
[org.apache.xml.security.utils.UnsyncBufferedOutputStream$1] (value
[[email protected]a90])
and a value of type [byte[]] (value [[[email protected]]) 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.
什麼這些警告在catalina.out的意思是在關機?
我看到我提到的一些JAXB類,但不能說出問題在這裏。
請幫忙嗎?
+1爲鏈接,有趣的閱讀。 – esaj 2012-04-04 19:29:35