> From: D C [mailto:dc12...@gmail.com] 
> Subject: context path ignored in conf/Catalina/localhost/*

> Tomcat 7.0.40

> I am trying to define all of my contexts in conf/Catalina/localhost/*.xml.
> This seems to work fine, however I'm having an issue setting the path.
> myApp.xml
>   <Context path="/tracking" >
> This simply does not work.

Nor should it.

> The only way this works is if i rename my war file to tracking.war.

Which is exactly what you should do.

> Why is the path ignored?

It's been illegal to put the path attribute in a <Context> element since at 
least 5.5.  Read the doc:

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html

 - 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