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: <cactus> task failed
Date Fri, 29 Aug 2003 20:12:16 GMT
Hi Qing,

The Cactus test do not kick in because there were errors to deploy your
webapp. The error says: "'ServletRedirector' is not unique". This
probably means that you have ServletRedirector defined twice in the
deployed war.

My guess is that you have added the definition for ServletRedirector
manually to your web.xml file and that you are using the cactifywar Ant
task. You need not add anything related to Cactus to your web.xml as it
is done automatically by the cactifywar task (see
http://jakarta.apache.org/cactus/integration/ant/task_cactifywar.html
for more info).

Thanks
-Vincent

-----Original Message-----
From: QingZhao [mailto:qzhao2@uiuc.edu] 
Sent: 29 August 2003 21:02
To: cactus-user@jakarta.apache.org
Subject: <cactus> task failed

Hi, 
 
I had the following error while using the ant integration to run the
sample test in jakarta-cactus-13-1.5-beta1 distribution.  I used Tomcat
4.1.26.  

[snip]

 [ERROR] Digester - -End event threw exception
<java.lang.reflect.InvocationTargetException>java.lang.reflect.Invocatio
nTargetException: java.lang.IllegalArgumentException: addChild:  Child
name 'ServletRedirector' is not unique

[snip]



Mime
View raw message