> From: Søren Blidorf [mailto:so...@nolas.dk]
> Subject: path in context.xml
> 
> I am trying to configure context in a META-INF context.xml which 
> is new to me.
> 
> I have set my path to "myPath"

The path attribute is illegal when the <Context> element is in 
META-INF/context.xml.  You must rename your .war file to myPath.war.

> What am I doing wrong??? What is path for???

The path attribute is viable *only* when the webapp is located outside of any 
<Host> appBase directory and the <Context> element is in server.xml - and 
placing <Context> elements in server.xml is not wise.

 - 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to