Resource in context.xml not found 2006-12-10 - By Caldarale, Charles R
Back > From: pir8ped [mailto:john.pedersen@(protected)] > Subject: Resource in context.xml not found > > I have a context file ( starfriend.xml ) in my \Tomcat > 5.5\conf\Catalina\localhost folder: > > <Context path="/appName" docBase="C:/Program Files/Apache Software > Foundation/Tomcat 5.5/webapps/starfriend" debug="3" reloadable="true">
This is probably not the cause of the resource not found problem, but the above <Context> element is incorrect. First, unless the <Context> is specified in server.xml, it must not include a path attribute. Second, the docBase attribute is unnecessary (and should be removed), since the app is deployed under the standard appBase (webapps). Since the app is under appBase, the proper place for this <Context> element is in META-INF/context.xml inside he app.
- 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 start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|