User Guide

To make use of this library you must run at least Java 1.7.

Notice
These components have been tested with Apache Tomcat 8.5.x only.

This site will guide you through the components of this library:

  1. CloseableResourceListener: Prevents memory leaks caused by left open resources during undeployment. (discontinued)
  2. LogbackContextNameListener: Makes Logback aware of a webapp's context name. (superseded)
  3. ContextNamingInfoListener: Provides you all necessary context naming information via JNDI environment entries. (discontinued)
  4. EnhancedErrorReportValve: An alternative error report valve with several improvements over the original one. (discontinued)
  5. PropertiesRoleMappingListener: Provides a mapping from technical roles to application roles from a properties file. (discontinued)

Before using this library, make sure that the artifact is in the class path of your Tomcat instance, i.e., in $CATALINA_BASE/lib or $CATALINA_HOME/lib.

CloseableResourceListener

This listener is obsolete now since Tomcat includes a close handler from version 7. See here for details on closeMehod.

LogbackContextNameListener

This listener has been superseded by the ContextNamingInfoListener.

ContextNamingInfoListener

This listener has been discoutinued since it is now bundled with Tomcat 8.5.91+. For more details see the here.

EnhancedErrorReportValve

This valve is obsolete now since Tomcat does include all modifications in the bundled valve. See Bugzilla issue for details.

PropertiesRoleMappingListener

This listener has been discoutinued since it is now bundled with Tomcat 8.5.91+. For more details see the here.