[ https://issues.apache.org/jira/browse/WW-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029208#comment-14029208 ] Lukasz Lenart commented on WW-4361: ----------------------------------- The exact version - as you see the same issues was already solved with 2.3.15 > Memory Leak Issue > ----------------- > > Key: WW-4361 > URL: https://issues.apache.org/jira/browse/WW-4361 > Project: Struts 2 > Issue Type: Bug > Environment: Struts 2, Hibernate > Reporter: MOHAMED IRFANULLA > > When I was stopping the Tomcat 7 server I got the below Errors in my Log. Please find the my web.xml file and Error Logs. > {code:xml} > > xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" > id="WebApp_ID" version="3.0"> > APSRTC > > struts2 > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter > > > struts2 > /* > > > index.jsp > > > {code} > Error Log > ------------- > {noformat} > SEVERE: The web application [/MyApplication] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc > SEVERE: The web application [/MyApplication] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads > SEVERE: The web application [/MyApplication] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads > SEVERE: The web application [/MyApplication] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads > SEVERE: The web application [/MyApplication] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads > SEVERE: The web application [/MyApplication] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads > SEVERE: The web application [/MyApplication] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads > SEVERE: The web application [/MyApplication] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads > SEVERE: The web application [/MyApplication] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads > SEVERE: The web application [/MyApplication] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@7d10065b]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@27118082]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@6e0bead7]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@506701b2]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1aa0765b]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1cba5e05]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@f72a8ff]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@30b50545]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3c6d0dfe]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > Jun 12, 2014 7:47:33 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks > SEVERE: The web application [/MyApplication] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@5e6dd64b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1bb1bdb0]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)