rantav/hector — Issue #431: Reloading WAR in Tomcat reports that DynamicLoadBalancingPolicy leaks memory
Author: pcting
Created: 2012-03-01 10:40:52+00:00
State: open

I'm running servlet code on Tomcat 7.0.23. Whenever I reload my war, I get severe log entries with the following:
...
Mar 1, 2012 2:34:32 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/myapp] appears to have started a thread named [Hector.me.prettyprint.cassandra.connection.DynamicLoadBalancingPolicy-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 1, 2012 2:34:32 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/myapp] appears to have started a thread named [Hector.me.prettyprint.cassandra.connection.DynamicLoadBalancingPolicy-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 1, 2012 2:34:52 AM org.apache.catalina.startup.HostConfig deployWAR
...