Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 88124 invoked from network); 1 Feb 2010 16:07:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 16:07:30 -0000 Received: (qmail 72447 invoked by uid 500); 1 Feb 2010 16:07:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 72391 invoked by uid 500); 1 Feb 2010 16:07:26 -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 72372 invoked by uid 99); 1 Feb 2010 16:07:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 16:07:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 16:07:16 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Nbyng-00014F-2J for users@tomcat.apache.org; Mon, 01 Feb 2010 08:06:56 -0800 Message-ID: <27406660.post@talk.nabble.com> Date: Mon, 1 Feb 2010 08:06:56 -0800 (PST) From: che10234 To: users@tomcat.apache.org Subject: RE: environment entries web.xml localhost/context.xml confusion In-Reply-To: <99C8B2929B39C24493377AC7A121E21F96C3EAE001@USEA-EXCH8.na.uis.unisys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: chenierc@rogers.com References: <27405876.post@talk.nabble.com> <99C8B2929B39C24493377AC7A121E21F96C3EAE001@USEA-EXCH8.na.uis.unisys.com> X-Virus-Checked: Checked by ClamAV on apache.org > Tomcat doesn't create these; the developer (or administrator) does. You > have the choice of placing environment entries in either location. IIRC, > the ones in the element will supersede the ones in web.xml, > allowing the administrator to replace any the developer set without the > need of updating the original .war file. > Thanks again Chuck. I'm dealing with one application deployed in 3 different environments (develop,test,live). So it's definitely an advantage to modify the env entries without updating the war file. So if it's not bad practice I want to keep the env entries in the localhost/myapp.xml file ONLY. I just wanted to make sure there wasn't some other reason why it would be a bad idea to remove them from web.xml. -- View this message in context: http://old.nabble.com/environment-entries-web.xml-localhost-context.xml-confusion-tp27405876p27406660.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org