Re: java.lang.ClassNotFoundException: org.apache.cactus.server.FilterTestRedirector

Kazuhito SUGURI <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
Hi Jason,

In article <[email protected]>,
Wed, 29 Mar 2006 13:13:27 +0530,
"Jason Stewart" <[email protected]> wrote: 
jason> After setting up my project to use cactus many months ago, I had to
jason> stop integration. I recently resumed and started getting the following
jason> exceptions from my <cactus> task:
jason> 
jason>    [cactus] StandardContext[/pantoto-2005-06-09-cactified]: Exception
jason> starting filter FilterRedirector: java.lang.ClassNotFoundException:
jason> org.apache.cactus.server.FilterTestRedirector
jason>    [cactus] java.lang.ClassNotFoundException:
jason> org.apache.cactus.server.FilterTestRedirector
jason>    [cactus] 	at
jason> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1407)
[snip]
jason> I can eliminate the error and get cactus running by opening up my
jason> cactified war file, editing the web.xml file and removing the
jason> following:
jason> 
jason>     <filter>
jason>         <filter-name>FilterRedirector</filter-name>
jason>         <filter-class>org.apache.cactus.server.FilterTestRedirector</filter-class>
jason>     </filter>
jason>     <filter-mapping>
jason>         <filter-name>FilterRedirector</filter-name>
jason>         <url-pattern>/FilterRedirector</url-pattern>
jason>     </filter-mapping>

Have you checked contents of jar-files under WEB-INF/lib?
Can you find org.apache.cactus.server.FilterTestRedirector.class?


jason> Two questions:
jason> * why is this creating a problem?

ATM, I'm not sure. Let's find the cause.

A possible cause is that cactifywar ant task is referring
cactus.jar for Servlet-2.2.

Regards,
----
Kazuhito SUGURI
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.