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: How to config tomcat 5.5 to display project in sub directory in url
Date Tue, 04 Dec 2007 07:04:49 GMT
> From: Tim [mailto:mitstalks@gmail.com] 
> Subject: How to config tomcat 5.5 to display project in sub 
> directory in url
> 
> I tried to write context:
> <Context docBase="....war" path="/aa/projectName" reloadable="true"/>
> in "\conf\Catalina\localhost\projectName.xml" but doesn't help.

1) Take out the path attribute, it can't be used when the <Context>
element is in this location.

2) Make sure the .war file for the webapp is located somewhere other
than in the <Host> appBase directory, or you'll get the webapp deployed
twice, and insure that docBase points there.

3) Change the name of projectName.xml to aa#projectName.xml (yes, that's
a number sign in the middle of the file name).

 - 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