You are here: Wiki>Documentation Web>ClassLoaderLeakPreventor (13 Aug 2015, DanielNuest)Edit Attach

ClassLoaderLeakPreventor


Introduction

With the ClassLoaderLeakPreventor you can avoid the This is very likely to create a memory leak. log statements... and the problems that cause them!

License

This is under Apache 2 license

How to use

web.xml:

Add the following to the web.xml file:

<listener>
    <listener-class>se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor</listener-class>
</listener>

Maven dependency

Add this maven dependency to your pom.xml:
<dependency>
    <groupId>se.jiderhamn</groupId>
    <artifactId>classloader-leak-prevention</artifactId>
    <version>1.13.0</version>
</dependency>

Configuration

More configuration details are described on GitHub:

Topic revision: r3 - 13 Aug 2015 07:44:32, DanielNuest
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback