Do not use context valve component

This rule flags all Context <Valve> elements in the META-INF/context.xml file.

The functionality of the Valve component can be achieved in Java EE using Java servlet filters. The recommended action is to use Java servlet filters instead of the Apache Tomcat Valve component.

For additional information on the valve component in Tomcat see:

For additional information on Java servlet filters: