Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 11556 invoked from network); 23 Jan 2006 15:09:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jan 2006 15:09:50 -0000 Received: (qmail 64637 invoked by uid 500); 23 Jan 2006 15:09:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64621 invoked by uid 500); 23 Jan 2006 15:09:32 -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 64606 invoked by uid 99); 23 Jan 2006 15:09:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 07:09:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.63.108.51] (HELO usbb-lacimss1.unisys.com) (192.63.108.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 07:09:31 -0800 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.43]) by usbb-lacimss1 with InterScan Messaging Security Suite; Mon, 23 Jan 2006 10:26:13 -0500 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.44]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 23 Jan 2006 10:09:08 -0500 Received: from USRV-EXCH1.na.uis.unisys.com ([129.225.81.6]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 23 Jan 2006 10:09:08 -0500 Received: from USRV-EXCH4.na.uis.unisys.com ([192.61.245.232]) by USRV-EXCH1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 23 Jan 2006 09:09:07 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Cannot access external resources from a webapp when upgrading Tomcat above 5.5.9 version. Date: Mon, 23 Jan 2006 09:08:41 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cannot access external resources from a webapp when upgrading Tomcat above 5.5.9 version. Thread-Index: AcYgEnYyhvZcs6MkShWipsuLbr39hwAG6Mdg From: "Caldarale, Charles R" To: "Tomcat Users List" X-OriginalArrivalTime: 23 Jan 2006 15:09:07.0645 (UTC) FILETIME=[F4EDD6D0:01C6202E] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > From: Gema Berdasco [mailto:gema.berdasco@deimos-space.com]=20 > Subject: Cannot access external resources from a webapp when=20 > upgrading Tomcat above 5.5.9 version. >=20 > we use the following entry on the context.xml file of the webapp: >=20 > > className=3D"org.apache.naming.resources.FileDirContext"/> > You don't explicitly say where your element is, but the implication is that it's inside a file named context.xml in your webapp's META-INF directory. If that is the case, both the path and docBase attributes are ignored. See: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Look at the descriptions for the two attributes in question. The docBase attribute is intended to provide the location of the webapp, not a link to external resources. Tomcat versions after 5.5.9 seem to have tightened up enforcement of the configuration rules. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL 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 attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org