八月 11, 2011 8:41:02 下午 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/struts_spring] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1dacbd]) and a value of type [com.opensymphony.xwork2.inject.InternalContext[]] (value [[Lcom.opensymphony.xwork2.inject.InternalContext;@37e4c5]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
八月 11, 2011 8:41:02 下午 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/struts_spring] created a ThreadLocal with key of type [com.opensymphony.xwork2.ActionContext.ActionContextThreadLocal] (value [com.opensymphony.xwork2.ActionContext$ActionContextThreadLocal@114d479]) and a value of type [com.opensymphony.xwork2.ActionContext] (value [com.opensymphony.xwork2.ActionContext@8965ed]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
八月 11, 2011 8:41:02 下午 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/struts_spring] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1dacbd]) and a value of type [com.opensymphony.xwork2.inject.InternalContext[]] (value [[Lcom.opensymphony.xwork2.inject.InternalContext;@6a5d13]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

解决方案 »

  1.   

    就是你停止web服务的时候,有些资源释放不了。InternalContext,ActionContext乍看是这两个。
      

  2.   

    but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
      

  3.   

    是不是hibernate 的session无法close()呢
    该如何关闭?
      

  4.   

    这是一个注册的页面,第一次输入不匹配的类型,跳到了INPUT的处理页,之后填入合法的类型就无法处理了,同样跳到INPUT处理页,
    如果一开始是合法的类型,则不会出现这种情况。