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: Share war file / virtual hosts
Date Mon, 22 Sep 2008 13:59:03 GMT
> From: Mathias P.W Nilsson [mailto:mathias@snyltarna.se]
> Subject: Share war file / virtual hosts
>
> I have 3 different virtual hosts. Is there anyway these can
> share the same war file and instance?

If you are using <Alias> entries for a single <Host>, then the webapp will be
deployed only once.

If you are using multiple <Host> elements, then no, the webapp will be deployed for
each <Host>, even if the docBase is identical for each.  You could deploy dummy webapps
on the secondary hosts that do nothing but redirect or forward to the primary, but that might
be confusing to your end users.

 - 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