Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 92355 invoked from network); 2 May 2008 16:32:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2008 16:32:38 -0000 Received: (qmail 92990 invoked by uid 500); 2 May 2008 16:32:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 92968 invoked by uid 500); 2 May 2008 16:32:27 -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 92957 invoked by uid 99); 2 May 2008 16:32:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 09:32:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [134.68.171.23] (HELO mhw.ulib.iupui.edu) (134.68.171.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 16:31:35 +0000 Received: from mwood by mhw.ulib.iupui.edu with local (Exim 4.69) (envelope-from ) id 1JryAt-0004KF-Dr for users@tomcat.apache.org; Fri, 02 May 2008 12:31:55 -0400 Date: Fri, 2 May 2008 12:31:55 -0400 From: "Mark H. Wood" To: users@tomcat.apache.org Subject: Re: Hot deploy deletes my context file... Message-ID: <20080502163155.GD13444@IUPUI.Edu> References: <481AB15B.30408@apache.org> <46B5E751-26BD-429C-8D96-2925B5340058@adobe.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hxkXGo8AKqTJ+9QI" Content-Disposition: inline In-Reply-To: <46B5E751-26BD-429C-8D96-2925B5340058@adobe.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Checked: Checked by ClamAV on apache.org --hxkXGo8AKqTJ+9QI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 02, 2008 at 05:32:58AM -0700, Michael Burbidge wrote: > By experimenting from the shell copying files I can see what Tomcat is=20 > doing. I think that it deletes associated contexts whenever an applicatio= n=20 > is undeployed by deleting the .war file. I think you are right. This drove me crazy for a while. Eventually I began keeping the .war files *out* of /webapps and I haven't seen this problem for a while. You'll need to add the docBase attribute to the Context to point to such an "external" webapp. --=20 Mark H. Wood, Lead System Programmer mwood@IUPUI.Edu Typically when a software vendor says that a product is "intuitive" he means the exact opposite. --hxkXGo8AKqTJ+9QI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkgbQfsACgkQs/NR4JuTKG/8VwCfW3M/Y1ZWgl+OIMc/LluKjHmb bywAoKjVckVqZbOm8I1PoHFIlZEZpgpP =j89r -----END PGP SIGNATURE----- --hxkXGo8AKqTJ+9QI--