Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 96129 invoked from network); 24 Nov 2003 06:38:14 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.119) by daedalus.apache.org with SMTP; 24 Nov 2003 06:38:14 -0000 Received: (qmail 26353 invoked by uid 0); 24 Nov 2003 06:38:23 -0000 Received: from unknown (HELO vma) ([195.132.245.195]) (envelope-sender ) by 212.198.2.119 (qmail-ldap-1.03) with SMTP for ; 24 Nov 2003 06:38:23 -0000 From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: cactus/tomcat4x servletsample problem Date: Mon, 24 Nov 2003 07:38:16 +0100 Message-ID: <004101c3b255$8a991b80$2502a8c0@vma> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <3FC14A89.9090908@cs.waikato.ac.nz> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, This probably means you have manually the servlet redirector to your tomcat web.xml file. You must be using the Ant integration and the cactifywar task which automatically adds the servlet redirector (and is not yet intelligent enough to check if it's already there). Thus it gets added twice... Thanks -Vincent > -----Original Message----- > From: Gerret Apelt [mailto:ga11@cs.waikato.ac.nz] > Sent: 24 November 2003 01:02 > To: cactus-user@jakarta.apache.org > Subject: cactus/tomcat4x servletsample problem > > I believe this is likely a tomcat issue, but just a heads up: > > I downloaded jakarta-cactus-12-1.5-rc1and attempted to build/run tests > for the samples/servlet example, testing against an out-of-the-box > installation of tomcat4.1.29, jdk 1.4.2. I indicated this in the servlet > example's build.properties file. Tomcat was fired up by cactus properly, > but the following error occurred when the example's tests were to be > executed (from tomcat log file): > > 2003-11-23 07:29:01 ContextConfig[/cactus-sample-servlet-cactified] > Parse error in application web.xml java.lang.IllegalArgumentException: > addChild: Child name 'ServletRedirector' is not unique > at > org.apache.commons.digester.Digester.createSAXException(Digester.java:25 40 > ) > at > org.apache.commons.digester.Digester.createSAXException(Digester.java:25 66 > ) > at > org.apache.commons.digester.Digester.endElement(Digester.java:1061) > at > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > at > org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown > Source) > at > org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown > Source) > at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk no > wn > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis pa > tcher.dispatch(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown > Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > Source) > at org.apache.commons.digester.Digester.parse(Digester.java:1548) > at > org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfi g. > java:282) > at > org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) > > When I indicated in build.properties for cactus tests to be run against > resin2.1.10 instead, things worked just fine. > > This may be the same issue as reported here: > http://www.mail-archive.com/cactus-user@jakarta.apache.org/msg03825.html > > > cheers, > Gerret > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: cactus-user-help@jakarta.apache.org