[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: RE: Tomcat webapp directory on virtual host
From: "George Sexton" <gsexton () mhsoftware ! com>
Date: 2006-01-30 0:23:23
Message-ID: 20060130002323.00F6564916 () mail ! mhsoftware ! com
[Download RAW message or body]
It would be really nice if the next verion of Tomcat could dispense with
putting hosts in the server.xml file as well. They already have a directory
structure in place...
Right now, for my high-volume hosting I have a startup script that generates
a server.xml on the fly. The reason I have to do this is because the
host-manager application doesn't write new hosts to the server.xml (and if
it did, it would probably restart them all anyhow). It would be nice if
tomcat and host-manager would write a host.xml to the conf/<engine
name>/host_name directory.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Sent: Sunday, January 29, 2006 9:46 AM
> To: Tomcat Users List
> Subject: RE: Tomcat webapp directory on virtual host
>
> > From: Chad Russell [mailto:chad@russellit.com]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic