The situation is just you`ve said. Do you know any other way to access to external resources?
----- Original Message ----- From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Monday, January 23, 2006 4:08 PM Subject: RE: Cannot access external resources from a webapp when upgrading Tomcat above 5.5.9 version. > From: Gema Berdasco [mailto:[EMAIL PROTECTED] > Subject: Cannot access external resources from a webapp when > upgrading Tomcat above 5.5.9 version. > > we use the following entry on the context.xml file of the webapp: > > <Context docBase="/path/to/resources" path="/contents"> > <Resources > className="org.apache.naming.resources.FileDirContext"/> > </Context> You don't explicitly say where your <Context> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]