> From: ALEX HYDE [mailto:[EMAIL PROTECTED] 
> Subject: root context
> 
> Is it posible to set the root context to be a directory that 
> doesn't yet exist, ie, a war file, that is yet to be 
> exploded. Tomcat complained it could not find the context.

Just name your .war file ROOT.war (caps required) under the webapps
directory, and remove the existing webapps/ROOT directory.  If you don't
want to keep your .war file there, create a file named
conf/Catalina/localhost/ROOT.xml, put a <Context> tag in there with a
docBase attribute giving the path of the .war file.  (The preceding
assumes you're using a 5.5.x version of Tomcat.)

 - 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to