tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: valve class cannot be found
Date Sat, 01 Feb 2003 18:11:42 GMT

On Sat, 1 Feb 2003, THG wrote:

> Date: Sat, 01 Feb 2003 16:32:02 +0100
> From: THG <>
> Reply-To: Tomcat Users List <>,
> To: Tomcat Users List <>
> Subject: valve class cannot be found
> i have written a valve class (inherited from ValveBase) and try
> to include this class within the host tag in server xml.
> the class is placed in the /WEB-INF/classes directory in a package structure.
> starting tomcat 4.1.18 LE (connected with the ajp13 connector to
> apache; not the coyote connector and disabled mx beans support) results
> in a class not found exception. placing the valve class in CATALINA_HOME/common/classes
> results in class not found exceptions for the classes in CATALINA_HOME/server/lib/*.jar.
> where must i place the valve class(es), so that tomcat can find and load them?

Put this class in a JAR file in $CATALINA_HOME/server/lib, or unpacked
under $CATALINA_HOME/server/classes (which you may have to create).

For more info on how class loading works in Tomcat, see:

> best regards,
> thomas
> ps sorry for my english


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message