Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 49232 invoked from network); 30 Oct 2004 22:48:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Oct 2004 22:48:52 -0000 Received: (qmail 46337 invoked by uid 500); 30 Oct 2004 22:48:16 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 46291 invoked by uid 500); 30 Oct 2004 22:48:15 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 46277 invoked by uid 99); 30 Oct 2004 22:48:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [66.163.170.82] (HELO smtp812.mail.sc5.yahoo.com) (66.163.170.82) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 30 Oct 2004 15:48:11 -0700 Received: from unknown (HELO TWYLA) (aholub@sbcglobal.net@67.119.103.210 with plain) by smtp812.mail.sc5.yahoo.com with SMTP; 30 Oct 2004 22:47:34 -0000 Date: Sat, 30 Oct 2004 15:47:11 -0700 From: Allen Holub X-Mailer: The Bat! (v2.12.00) Personal Reply-To: Allen Holub X-Priority: 3 (Normal) Message-ID: <359116862.20041030154711@holub.com> To: "Tomcat Users List" Subject: Re[2]: How to deploy/redeploy when context.xml present In-Reply-To: <20041030205527.GB890@strange.dreamhost.com> References: <192788490.20041030102859@holub.com> <20041030205527.GB890@strange.dreamhost.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi QM, Q> This is true: Tomcat doesn't compare a WAR file's META-INF/context.xml Q> to its corresponding copy in Q> {tomcat}/conf/{engine}/{host}/{file}.xml; Q> if the latter file already exists, Tomcat ignore the former. Q> If you use *only* WAR files you can use a custom Tomcat start/stop Q> script that cleans out the context-related XML files in {tomcat}/conf. So am I correct in thinking that I must: 1) Stop Tomcat 2) delete the .../conf/Catalina/localhost/myAPp.xml file 3) copy the new version of the .war to /webapps 4) restart tomcat Do I also need to delete the unpacked version of the .war file that Tomcat puts in .../webapps? In general, what should I delete to completely remove a previously deployed web app? Can any of this be done with Tomcat running? I'm running 5.0.28, if that matters. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org