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 have multiple domains/contexts with Tomcat ? they all go to same context ..
Date Fri, 26 Sep 2008 14:33:57 GMT
> From: Morgan Cox [mailto:morgancoxuk@gmail.com]
> Subject: Re: How to have multiple domains/contexts with
> Tomcat ? they all go to same context ..
>
> One last thing - If you upload the .war files with the tomcat
> manager / host-manager is there a way to do this

Once the <Host> elements are set up, you shouldn't have to do any more editing of server.xml
- just deploy the default webapp as ROOT under each <Host>.  However, you will have
to deploy the manager app for each <Host>, since each instance is tied to a given <Host>
(at least it was last time I tried).

The easiest way to do that is just copy the manager directory to each of your <Host>'s
appBase directories.  You can also do it by putting a <Context> element for each manager
in conf/Catalina/[host]/manager.xml, but all that does is save a minimal amount of disk space.

 - 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