Thanks Vincent ! It worked after I removed the already added ServletRedirector mapping from the web.xml file of Project.war
Raman -----Original Message----- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 11:21 AM To: 'Cactus Users List' Subject: RE: java.lang.IllegalStateException: Servlet 'ServletRedirector' already defined > -----Original Message----- > From: Raman [mailto:[EMAIL PROTECTED] > 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 --------------------------------------------------------------------- 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]
