• Bug
  • Status: New
  • 2 Major
  • Resolution:
  • drb
  • Reporter: apptaro
  • November 09, 2016
  • 0
  • Watchers: 1
  • November 09, 2016


When Tomcat undeploys and deploys an application using Ehcache, the following error appears:

catalina.log-20161110:09-Nov-2016 15:18:40.174 SEVERE [ajp-nio-8009-exec-14] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [net.sf.ehcache.util.concurrent.Striped64.ThreadHashCode] (value [net.sf.ehcache.util.concurrent.Stripe[email protected]]) and a value of type [net.sf.ehcache.util.concurrent.Striped64.HashCode] (value [[email protected]]) 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.