严重: A web application created a ThreadLocal with key of type [null] (value [com.sun.faces.config.Con
2011-10-26 20:33
651 查看
严重: A web application created a ThreadLocal with key of type [null] (value [com.sun.faces.config.ConfigureListener$1@1c4e792]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak,
the ThreadLocal has been forcibly removed. http://confluence.atlassian.com/pages/viewpage.action?pageId=218275753 看看老外的这篇,好像就是在讲这个问题,原因大概是说tomcat 6.025之后引入了一种内存泄露的检查机制,会把不能垃圾收集的对像做日志
第一种解决办法:
使用低于6版本的tomcat
第二种解决办法:
在tomcat的server.xml文件中把
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>
这个监听给关了
如果还解决不了,重启一下机器试试
the ThreadLocal has been forcibly removed. http://confluence.atlassian.com/pages/viewpage.action?pageId=218275753 看看老外的这篇,好像就是在讲这个问题,原因大概是说tomcat 6.025之后引入了一种内存泄露的检查机制,会把不能垃圾收集的对像做日志
第一种解决办法:
使用低于6版本的tomcat
第二种解决办法:
在tomcat的server.xml文件中把
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>
这个监听给关了
如果还解决不了,重启一下机器试试
相关文章推荐
- The web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1807b9
- 严重: The web application [/native] created a ThreadLocal with key of type
- SSH-A web application created a ThreadLocal with key of type [null]
- A web application created a ThreadLocal with key of type [null]
- struts2关于A web application created a ThreadLocal with key of type 异常解决办法
- struts2关于A web application created a ThreadLocal with key of type 异常解决办法
- The web application [/struts2_0100] created a ThreadLocal with key of type
- 关于The web application [/cdmaPlus] created a ThreadLocal with key of type
- struts2关于A web application created a ThreadLocal with key of type 异常解决办法
- struts2关于A web application created a ThreadLocal with key of type 异常解决办法.
- The web application [/XinRui02] created a ThreadLocal with key of type [com.opensymphony.xwork2.inje
- The web application [/HOTEL] created a ThreadLocal with key of type
- 错误:created a ThreadLocal with key of type ……but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
- Struts2 A web application created a ThreadLocal with key of type
- The web application [/struts1] created a ThreadLocal with key of type
- The web application [/struts2_0100] created a ThreadLocal with key of type
- The web application [/struts2_0100] created a ThreadLocal with key of type
- struts2关于A web application created a ThreadLocal with key of type 异常解决办法
- struts2关于A web application created a ThreadLocal with key of type 异常解决办法
- struts2关于A web application created a ThreadLocal with key of type 异常解决办法