tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Deploying to / using context.xml
Date Sat, 06 Jan 2007 05:10:47 GMT
> From: Jacob Rhoden [] 
> 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

"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

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message