Version 1.13.0 of ClassLoader Leak Prevention library has just been released, and should propagate to Maven Central shortly.
This version changes the treatment of threads that uses the web apps
ClassLoader as its
contextClassLoader, while neither the
Thread nor its
Runnable are loaded by that ClassLoader. Previously the library would kill such
Threads, assuming the
ClassLoaderLeakPreventor.stopThreads setting was not explicitly disabled, which caused issues with Tomcat 7 executors.
Grab the new version via Maven central or download the jar manually.
<dependency> <groupId>se.jiderhamn</groupId> <artifactId>classloader-leak-prevention</artifactId> <version>1.13.0</version> </dependency>