1. Home
  2. Security Hardening
  3. CIS Apache Tomcat 7 L1 V1.1.0
  4. Enable memory leak listener (verify present)

Enable memory leak listener (verify present)

Details

The JRE Memory Leak Prevention Listener provides work-arounds for known places where the Java Runtime environment uses the context class loader to load a singleton as this will cause a memory leak if a web application class loader happens to be the context class loader at the time. The work-around is to initialise these singletons when this listener starts as Tomcat’s common class loader is the context class loader at that time. It also provides work-arounds for known issues that can result in locked JAR files.

Solution

Uncomment the JRE Memory Leak Prevention Listener in $CATALINA_HOME/conf/server.xml

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: System and Information Integrity.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles