Problems with filters in 5.5.9?
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? Cheers, Brandon Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with filters in 5.5.9?
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]
Re: Re: Problems with filters in 5.5.9?
Lutz -- thanks for the help but unfortunately even after copying the jar to the $TOMCAT_HOME/common/lib/ directory I still am having problems. :( Anyone else have any ideas? Cheers, Brandon On Sat, 21 May 2005, Lutz Zetzsche ([EMAIL PROTECTED]) wrote: > 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] > > > > Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: Problems with filters in 5.5.9?
Can you say more about how you upgraded? Specifically, were you very careful to migrate your config files across? > -Original Message- > From: Brandon Dove [mailto:[EMAIL PROTECTED] > Sent: Monday 23 May 2005 02:14 > To: Lutz Zetzsche > Subject: Re: Re: Problems with filters in 5.5.9? > > > Lutz -- thanks for the help but unfortunately even after copying > the jar to the $TOMCAT_HOME/common/lib/ directory I still am > having problems. :( > > Anyone else have any ideas? > > Cheers, > > Brandon > > On Sat, 21 May 2005, Lutz Zetzsche > ([EMAIL PROTECTED]) wrote: > > > 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-h owto.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] > > > > Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]