tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: context path ignored in conf/Catalina/localhost/*
Date Thu, 29 Aug 2013 18:09:09 GMT
> From: D C [mailto:dc12078@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message