title: Tomcat Memory Leak Using Struts2 xwork
body: <pre><code>SEVERE: The web application [/ppAdmin] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@126212dd]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@64c47498]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
  Mar 22, 2012 12:43:00 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
  SEVERE: The web application [/ppAdmin] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1dc2dad7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@63ad6884]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
  Mar 22, 2012 12:43:00 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
  SEVERE: The web application [/ppAdmin] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1dc2dad7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@da8e53c]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
  Mar 22, 2012 12:43:01 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
  SEVERE: The web application [/Nemo] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
  Mar 22, 2012 12:43:01 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
  SEVERE: The web application [/Nemo] registered the JDBC driver [net.sourceforge.jtds.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
  Mar 22, 2012 12:43:01 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
  SEVERE: The web application [/Nemo] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
  Mar 22, 2012 12:43:01 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
  SEVERE: The web application [/Nemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@28318d]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@4ecd200f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
  Mar 22, 2012 12:43:01 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
  SEVERE: The web application [/Nemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@7cf3e133]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@6f461b5b]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
  Mar 22, 2012 12:43:01 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
  SEVERE: The web application [/Nemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@28318d]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@63ae2c6f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
  Mar 22, 2012 12:43:01 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
  SEVERE: The web application [/Nemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@28318d]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3fe75e89]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
  Mar 22, 2012 12:43:01 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
  SEVERE: The web application [/Nemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@28318d]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@6eef9525]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
  Mar 22, 2012 12:43:01 PM org.apache.coyote.http11.Http11Protocol destroy
  INFO: Stopping Coyote HTTP/1.1 on http-8080
  </code></pre>
  
  <p>WHY THE MEMORY LEAK WARNINGS ARE THERE???TOMCAT 6.0.35 ALLOWS GC TOOL.STILL IT GIVES SUCH WARNINGS.I AM BOTHERED ABOUT THESE WARNINGS.PLEASE HELP ME HOW TO MANAGE WITH THESE?
  ANY HELP WILL BE HIGHLY APPRECIATED..................THANKS IN ADVANCE.</p>