Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 24067 invoked from network); 3 Sep 2009 20:15:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Sep 2009 20:15:26 -0000 Received: (qmail 41190 invoked by uid 500); 3 Sep 2009 20:15:22 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 41101 invoked by uid 500); 3 Sep 2009 20:15:21 -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 41090 invoked by uid 99); 3 Sep 2009 20:15:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 20:15:21 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.61.61.104] (HELO usea-naimss2.unisys.com) (192.61.61.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 20:15:09 +0000 Received: from usea-nagw3.na.uis.unisys.com ([129.224.72.20]) by usea-naimss2 with InterScan Message Security Suite; Thu, 03 Sep 2009 15:14:47 -0500 Received: from usea-nagw3.na.uis.unisys.com ([129.224.72.55]) by usea-nagw3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 3 Sep 2009 15:14:47 -0500 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 3 Sep 2009 15:14:47 -0500 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.42]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Thu, 3 Sep 2009 15:14:47 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Thu, 3 Sep 2009 15:14:45 -0500 Subject: RE: Configuring different environment variables for different vhost context? Thread-Topic: Configuring different environment variables for different vhost context? Thread-Index: Acos0emamVTL1yAmTBmxcopDZubI2QAAHnEA Message-ID: <99C8B2929B39C24493377AC7A121E21F83EE276EC1@USEA-EXCH8.na.uis.unisys.com> References: <4AA02141.9000004@fischer.name> In-Reply-To: <4AA02141.9000004@fischer.name> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 03 Sep 2009 20:14:47.0271 (UTC) FILETIME=[2F0EEF70:01CA2CD3] X-Virus-Checked: Checked by ClamAV on apache.org > From: Markus Fischer [mailto:markus@fischer.name] > Subject: Configuring different environment variables for different > vhost context? >=20 > in tomcat55/Catalina/hudson-test.dev/ROOT.xml I have > > value=3D"/data/java/hudson-test"/> > I think you're confusing environment variables with environment entries - t= hey are completely different things. Environment variables have a scope of= process, and are accessed in Java via System.getenv(). Environment entrie= s (what you have configured) have a scope of webapp, and are retrieved via = JNDI lookup. Read the servlet spec. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org