您的位置:首页 > 运维架构 > Tomcat

Tomcat6集成Red5后,关闭时报错The web application [] created a ThreadLocal with key of type [null]的解决方法

2010-12-05 10:45 369 查看
严重: The web application [] created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@1a306ee]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
http://confluence.atlassian.com/pages/viewpage.action?pageId=218275753 原因tomcat 6.025之后引入了一种内存泄露的检查机制,会把不能垃圾收集的对像做日志。

第一种解决办法:

使用低于6版本的tomcat

第二种解决办法:

在tomcat的server.xml文件中把
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>

这个监听给关了

第三种解决方法:

openmeetings的安装说明里又说,在参数后面加上 -Xms512m -Xmx1024M
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐