Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CD999AF3 for ; Fri, 23 Sep 2011 04:37:42 +0000 (UTC) Received: (qmail 42372 invoked by uid 500); 23 Sep 2011 04:37:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 42291 invoked by uid 500); 23 Sep 2011 04:37:37 -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 42242 invoked by uid 99); 23 Sep 2011 04:37:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 04:37:35 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.86.89.67] (HELO elasmtp-scoter.atl.sa.earthlink.net) (209.86.89.67) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 04:37:28 +0000 Received: from [66.32.160.21] (helo=[192.168.2.50]) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1R6xVa-0006pe-SC for users@tomcat.apache.org; Fri, 23 Sep 2011 00:37:06 -0400 Subject: Re: [tomcat-6.0.33] META-INF/context.xml Environment not working From: Tim Watts To: Tomcat Users List In-Reply-To: References: <1316706157.23172.108.camel@dellberry> Content-Type: text/plain; charset="UTF-8" Organization: Clifton Farm Date: Fri, 23 Sep 2011 00:37:39 -0400 Message-ID: <1316752659.23172.249.camel@dellberry> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-ELNK-Trace: 3a5701426d89357f74bf435c0eb9d478af833228fb35755a71c2d5a3021fba4e3dde91a89f009d38350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.32.160.21 X-Virus-Checked: Checked by ClamAV on apache.org Wonderful. Thank You! You're right about / but I'm not sure all standards conforming servlet containers are guaranteed to provide an 'external override' behaviour. On Fri, 2011-09-23 at 07:07 +0400, Konstantin Kolinko wrote: > 2011/9/22 Tim Watts : > > 6.0.33 > > > > name="configName" > > value="${catalina.base}/local/xbasic/config/master.properties" > > description="Full path name of the config file." > > type="java.lang.String"/> > > > I got it to work by removing the from web.xml. > > You have to add override="false" to your element. It is > tricky, but it is documented > > http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Environment_Entries > > > BTW, I think ( in web.xml) are easier to > use. Note that it requires override="false" as well. > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org