tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
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 <thg@lycos.com>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>, thg@lycos.com
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> 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:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

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

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message