jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: java.lang.IllegalStateException: Servlet 'ServletRedirector' already defined
Date Mon, 28 Jun 2004 05:50:55 GMT


> -----Original Message-----
> From: Raman [mailto:rbaweja@adobe.com]
> Sent: lundi 28 juin 2004 06:39
> To: 'Cactus Users List'
> Subject: java.lang.IllegalStateException: Servlet 'ServletRedirector'
> already defined
> 
> Hi,
> 
> I am trying to merge my Test scripts with the Project.war file using the
> cactifywar task. I am not specifying the servlet redirector here. But
> still when I run my script I get the following error.
> java.lang.IllegalStateException: Servlet 'ServletRedirector' already
> defined.
> 
> Code of the ant script which does this is as follow.
> 
> <cactifywar srcfile="${test.home}/${project.name.file}.war"
>       destfile="${test.home}/test.war">
>       <classes dir="${buildspace.home}/classes"/>
>     <lib file="${httpunit.jar}"/>
>   </cactifywar>
> 
> Web.xml in the Project.war file has Servlet redirector set. So does the
> cactifywar sets it by default? If yes please help me in finding the
> solution for this.

Yes. Please read the doc on the web site for the cactifywar task.

-Vincent 


Mime
View raw message