Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 74360 invoked from network); 21 Oct 2005 19:34:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 19:34:46 -0000 Received: (qmail 57978 invoked by uid 500); 21 Oct 2005 19:34:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57936 invoked by uid 500); 21 Oct 2005 19:34:18 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57900 invoked by uid 99); 21 Oct 2005 19:34:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 12:34:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of J.Thompson@nau.edu designates 134.114.96.145 as permitted sender) Received: from [134.114.96.145] (HELO mailgate3.nau.edu) (134.114.96.145) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 12:34:15 -0700 Received: from CONVERSION-DAEMON.mailgate3.nau.edu by mailgate3.nau.edu (PMDF V6.2-X17 #30978) id <0IOQ00B016CDGR@mailgate3.nau.edu> for users@tomcat.apache.org; Fri, 21 Oct 2005 12:33:52 -0700 (MST) Received: from for92.nau.edu (for92.for.nau.edu [134.114.69.101]) by mailgate3.nau.edu (PMDF V6.2-X17 #30978) with ESMTP id <0IOQ00LCC6CAMN@mailgate3.nau.edu> for users@tomcat.apache.org; Fri, 21 Oct 2005 12:33:46 -0700 (MST) Date: Fri, 21 Oct 2005 12:33:45 -0700 From: Jay Thompson Subject: Re: Tomcat 5.5.12 - Why does app undeploy when war file deleted In-reply-to: <6.2.1.2.2.20051021073531.04156cc8@mailbox.nau.edu> To: Tomcat Users List Message-id: <6.2.1.2.2.20051021121956.01ec94f0@mailbox.nau.edu> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Content-type: text/plain; charset=us-ascii; format=flowed References: <6.2.1.2.2.20051021073531.04156cc8@mailbox.nau.edu> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N OK...I've answered my own question...but just in case someone else needs the answer... "...the Tomcat 4 attribute named liveDeploy has been renamed autoDeploy in Tomcat 5, and the Tomcat 4 attribute named autoDeploy has been renamed deployOnStartup in Tomcat 5. (from www.onjava.com). So, to stop the behavior, I needed to change the host lines that read:... unpackWARs="true" autoDeploy="true" to read... unpackWARs="true" autoDeploy="false" deployOnStartup="true" Note: You have to explicitly set autoDeploy to "false" because it defaults to "true" unless specified otherwise (I left the unpackWARs line in there just so it's clear what to set). With these settings, war files deploy only on startup...then, later, if the war files are removed, the deployed application stays. Jay At 07:42 AM 10/21/2005, Jay wrote: >I have been running Tomcat 4.x for about a year. When I wish to deploy a >war file, I... > >- Copy the war file to it where it belongs (keeping original war file on >another storage server) >- Restart Tomcat >- Wait for successful deployment >- Delete war file (to save disk space on tomcat server) > >Now, when I use the same approach under Tomcat 5.5.12, as soon as I delete the >war file, Tomcat "undeploys" the application. Is there a way to config TC >5.x to not do this? > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >For additional commands, e-mail: users-help@tomcat.apache.org ----------------------------------------------------------------------- Jay Thompson Support Systems Analyst, Sr. Northern Arizona University School of Forestry J.Thompson@NAU.EDU (928) 523-8033 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org