<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head>
<card title="Tomcat中报错：This is very likely to create a memory leak解决方法 - J2EE" id="card1">
<p> 游客</p><p>
标题:Tomcat中报错：This is very likely to create a memory leak解决方法 - J2EE<br/>
正文:<br/>
Tomcat中报：This is very likely to create a memory leak<br/>2010-12-20 15:13:25 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap<br/>严重: The web application [/tiger] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@b98117]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@ca3147]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. @camnpr<br/><br/>------解决方案--------------------<br/>解决方式任选一种 1 把tomcat降级为6.0.24以下的版本 <br/><br/>2 将tomcat升级为7.0.6以上的版本 <br/><br/>3 在server.xml中去掉JreMemoryLeakPreventionListener的listener <br/><br/>http://wiki.apache.org/tomcat/MemoryLeakProtection <br/><br/><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=824&amp;Page=1">[&lt;&lt;]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=824&amp;Page=1">[[1]]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=824&amp;Page=1">[&gt;&gt;]</a><br/>
<br/>
<a href="wap.asp?act=Com&amp;id=824">查看评论(0)</a><br/>
<a href="wap.asp?act=AddCom&amp;inpId=824">发表评论</a><br/><br/>

<br/>

<br/>
<a href="http://camnpr.com/wap.asp">首页</a>
</p>
</card>
</wml>