[ https://issues.apache.org/jira/browse/WW-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart closed WW-4361. ----------------------------- Resolution: Not A Problem > 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 > Priority: Major > > 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} > <?xml version="1.0" encoding="UTF-8"?> > <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > 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"> > <display-name>APSRTC</display-name> > <filter> > <filter-name>struts2</filter-name> > > <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> > </filter> > <filter-mapping> > <filter-name>struts2</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > <welcome-file-list> > <welcome-file>index.jsp</welcome-file> > </welcome-file-list> > </web-app> > {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 (v8.20.10#820010)