Hi Brandon,

Am Freitag, 20. Mai 2005 23:01 schrieb Brandon Dove:
> I recently upgraded from 5.5.4 -> 5.5.9. Now when starting my
> app I get the error:
>
> May 20, 2005 4:28:10 PM org.apache.catalina.core.StandardContext
> filterStart
> SEVERE: Exception starting filter addressFilter
> java.lang.ClassNotFoundException:
> com.mycompany.servlet.AddressFilter
> [...]
> May 20, 2005 4:28:10 PM org.apache.catalina.core.StandardContext
> start
> SEVERE: Error filterStart
>
> AddressFilter is located in a JAR that can be found in
> /webapps/WEB-INF/lib (as usual) so I'm not sure why it can't
> find the class?
>
> Any ideas?

It is strange that this error didn't occur with Tomcat 5.5.4 if I am 
right with my following assumption:

From my point of view, your address filter 
com.mycompany.servlet.AddressFilter must be visible to the Tomcat class 
org.apache.catalina.core.StandardContext.

According to the class loader how-to explaining the class loading tree, 
such classes that has to be visible to Tomcat classes cannot be placed 
in the shared or WebappX directories:

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

Try to put your address filter into the common directory. If I am right 
this should work after a server restart.


Best wishes

Lutz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to