Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 96733 invoked from network); 1 Apr 2008 23:40:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Apr 2008 23:40:55 -0000 Received: (qmail 54871 invoked by uid 500); 1 Apr 2008 23:40:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 54846 invoked by uid 500); 1 Apr 2008 23:40:41 -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 54835 invoked by uid 99); 1 Apr 2008 23:40:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 16:40:41 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [129.219.187.20] (HELO epo-int1.asu.edu) (129.219.187.20) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 23:39:50 +0000 Received: from EX03.asurite.ad.asu.edu (excl1-b0.asurite.ad.asu.edu [129.219.12.197]) by epo-int1.asu.edu (Switch-3.1.8/Switch-3.1.7/asu-postoffice-prod) with ESMTP id m31Ne7SL022136 for ; Tue, 1 Apr 2008 16:40:07 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C89451.B8653F64" Subject: Deleting context xml files Date: Tue, 1 Apr 2008 16:40:08 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Deleting context xml files Thread-Index: AciUUbcXeSv3fQY2SsK4dv7/G8LViA== From: "Albert Wold" To: X-Virus-Scanned: by amavisd-new X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C89451.B8653F64 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hello, Recently I have been using per-context XML files in /usr/local/tomcat/conf/Catalina/localhost to define environment specific information for my webapps. That way, when I move a war file through the cycle of dev/qa/production, I can be sure that I'm running the same code, and don't have to fiddle with settings inside the war file. =20 I'm not sure when it started happening, but during development it seems that tomcat is deleting the context xml files at seemingly random times. I think it has something to do with the undeploy/redeploy process that happens when the war file changes. It seems particularly common when there is a startup error in my app, but it is always when something in the webapp changes. Has anyone else experienced this? I have been using tomcat 6.0.14, but I just upgraded to 6.0.16 to see if that helps. =20 Basically, I'm wondering if I'm doing something against proper practice right now that is causing this or if there is some sort of bug in tomcat. I am using maven, so I have less control (probably partly because I a haven't figured it out fully yet) over the copying of files than I did with ant and I'd be interested to hear what other people are doing for dev deployment when using context xml files. =20 -Al ------_=_NextPart_001_01C89451.B8653F64--