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 64070 invoked from network); 8 Oct 2003 01:36:11 -0000 Received: from unknown (HELO ms-smtp-02.southeast.rr.com) (24.93.67.83) by daedalus.apache.org with SMTP; 8 Oct 2003 01:36:11 -0000 Received: from latitude01 (cpe-024-211-140-157.nc.rr.com [24.211.140.157]) by ms-smtp-02.southeast.rr.com (8.12.10/8.12.2) with ESMTP id h981WKkt003072 for ; Tue, 7 Oct 2003 21:32:20 -0400 (EDT) From: "Michael Silverstein" To: Subject: Extraneous reference to FilterTestRedirector in web.xml Date: Tue, 7 Oct 2003 21:36:02 -0400 Message-ID: <019101c38d3c$88868fa0$6701a8c0@latitude01> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Christopher: That did it! You get the genius award for saving me days of effort and countless brain cells. I'd scavenged a web.xml from somewhere that had apparently had an incorrect DOCTYPE set in it. I pasted the following in and everything works just fine now: Thanks! ------------------------------------------------------------------------ -------- Christopher Lenz wrote: Hi Michael, is it possible that you're using the Cactus JAR for J2EE 1.2 but cactifying a WAR that is declared as J2EE 1.3 (as specified by the DOCTYPE in the web.xml)? -chris ------------------------------------------------------------------------ -------- Michael Silverstein wrote: I am running into a problem deploying a 'cactified' application on Tomcat 4 with the cactus 1.5 beta. The build process keeps putting a reference to org.apache.cactus.server.FilterTestRedirector into my web.xml, even thought that class is not included in cactus-1.5-beta1.jar, so I get a class not found exception starting Tomcat. Here is what it looks like: FilterRedirector org.apache.cactus.server.FilterTestRedirector FilterRedirector /FilterRedirector Oddly, when I build and run the sample servlet tests it does not put that into the web.xml file so it is fine. My build.xml file is derived from and nearly identical to the sample servlet build.xml file. If, after running the ant build, I remove the above from the generated web.xml everything is fine. I tried searching all the files in the cactus distribution to see if there are any explicit references to that code and only found it in \integration\ant\src\confs\j2ee13\web.xml. I commented it out and still get the reference in my build.xml. There is something that specifies whether to put that reference in the web.xml but I can't figure out what so I can turn it off. What am I doing wrong? Thanks, Mike --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003