On Sat, 1 Feb 2003, THG wrote:

> Date: Sat, 01 Feb 2003 16:32:02 +0100
> From: THG <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> To: Tomcat Users List <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to