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: Deploying to / using context.xml
Date Sat, 06 Jan 2007 05:10:47 GMT
> From: Jacob Rhoden [mailto:jacob@rhoden.id.au] 
> Subject: Deploying to / using context.xml
> 
> I have tried with path="" and path="/", what am i doing 
> wrong? They are both tomcat 5.5.x

Unless your <Context> element is in server.xml (strongly discouraged),
there should not be a path attribute at all.  Tomcat determines the URL
path to the app based on the directory (or war file) name of the app if
it's under appBase, or the name of the .xml file if that's placed in
conf/Catalina/[host].  Look at the doc for the path attribute of
<Context>:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

"The value of this field must not be set except when statically defining
a Context in server.xml, as it will be infered [sic] from the filenames
used for either the .xml context file or the docBase."

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


Mime
View raw message