java中catalina.out_java – 在catalina.out中有哪些警告?

参见英文答案 >

Memory leak when redeploying application in Tomcat                                    5个

我在Tomcat 7中有一个Web应用程序.

当我关闭Tomcat时,我看到这些警告(但不总是)

SEVERE: The web application [/MyApplication] created a ThreadLocal

with key of type

[org.apache.xml.security.algorithms.MessageDigestAlgorithm$1] (value

[org.apache.xml.security.algorithms.MessageDigestAlgorithm$1@2e2c2e2c])

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

[com.sun.xml.bind.v2.ClassFactory$1@25442544]) and a value of type

[java.util.WeakHashMap] (value [{class

com.classes.internal.ContactType=java.lang.ref.WeakReference@17eb17eb,

class

javax.xml.bind.annotation.adapters.HexBinaryAdapter=java.lang.ref.WeakReference@178a178a,

class

com.classes.internal.xjc.ListType=java.lang.ref.WeakReference@181c181c,

class

com.classes.internal.xjc.MessageType=java.lang.ref.WeakReference@17711771,

class

com.classes.internal.xjc.MessageType=java.lang.ref.WeakReference@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

[org.apache.xml.security.utils.UnsyncBufferedOutputStream$1@4a904a90])

and a value of type [byte[]] (value [[B@67486748]) 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类,但是不能说出这个问题.

请帮忙吗

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值