Nope.... create a new xml file in that location named after your webapp's context ... ie Project.xml.

In the xml file, just put in the <Context ...>...</Context> block.

--David

Richard Dunne wrote:

I have these: admin, balancer and manager .xml files in 
$CATALINA_HOME/conf/[enginename]/[hostname]/ directory.
Should I put my Context in one of these files as each already has a Context?

Richard.


----- Original Message ----
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Thursday, March 22, 2007 1:42:32 PM
Subject: RE: context not recognised?


From: Richard Dunne [mailto:[EMAIL PROTECTED] Subject: context not recognised?

I have added the folowing line to my server.xml file
<context path="/Project" docBase="c:\Project" debug="0" />.

It's <Context>, not <context>.  For 5.0 and above <Context> elements
should not be placed in server.xml; they should be put in
conf/Catalina/[hostName]/[appName].xml when the app is deployed outside
of the <Host> appBase directory.  When not in server.xml, the path
attrbute should not be present.

Check the bold print at:
http://tomcat.apache.org/tomcat-5.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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



____________________________________________________________________________________
Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to