On 19/11/2010 03:58, Brian wrote: > Hi Chris, > > I already took off the JARs from the shared/lib directory. So that is not an > issue now. > I have just stopped my apps, and this is what I have found in my log: > > > Nov 18, 2010 10:22:57 PM org.apache.catalina.core.StandardWrapper unload > INFO: Waiting for 1 instance(s) to be deallocated > Nov 18, 2010 10:22:58 PM org.apache.catalina.loader.WebappClassLoader > clearReferencesJdbc > SEVERE: The web application [] registered the JBDC 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.
Tomcat fixed this one for you. You'll need to de-register the JDBC driver in a ServletContextListener to stop the message. > Nov 18, 2010 10:22:58 PM org.apache.catalina.loader.WebappClassLoader > clearReferencesThreads > SEVERE: The web application [] appears to have started a thread named [MySQL > Statement Cancellation Timer] but has failed to stop it. This is very likely > to create a memory leak. I thought someone mentioned this was fixed in the latest MySQL JDBC driver. > Nov 18, 2010 10:22:58 PM org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > SEVERE: The web application [] created a ThreadLocal with key of type > [org.apache.commons.lang.builder.ReflectionToStringBuilder$1] (value > [org.apache.commons.lang.builder.reflectiontostringbuilde...@1794040]) and a > value of type [java.util.HashSet] (value [[]]) but failed to remove it when > the web application was stopped. This is very likely to create a memory leak. I think this one is https://issues.apache.org/jira/browse/LANG-586 Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org