> From: Chad Russell [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat webapp directory on virtual host
> 
> I want to deploy a struts .war file to one of the virtual hosts, but 
> Tomcat wont recognize it.  In my server.xml under the <hosts> 
> section I have both the appBase and the docBase pointing to the 
> directory in which I am deploying the .war file and it still is
> not working.

You need to be a bit more precise in the description of your
configuration.  There is no <hosts> tag defined for Tomcat, although you
may have multiple <Host> tags.  The appBase attribute for <Host> defines
the default directory for applications associated with that host.  The
docbase attribute for a <Context> defines the specific location of the
app, if outside of appBase; it should not be used if the app resides
within the surrounding <Host>'s appBase.

Note that placing <Context> elements in server.xml is strongly
discouraged with Tomcat 5.5.

 - 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