Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 40056 invoked from network); 21 Feb 2008 20:13:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 20:13:32 -0000 Received: (qmail 42028 invoked by uid 500); 21 Feb 2008 20:13:15 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 41736 invoked by uid 500); 21 Feb 2008 20:13:14 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 41725 invoked by uid 99); 21 Feb 2008 20:13:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 12:13:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [207.5.74.29] (HELO EXHUB003-2.exch003intermedia.net) (207.5.74.29) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 20:12:28 +0000 Received: from EXVMBX003-2.exch003intermedia.net ([207.5.74.42]) by EXHUB003-2.exch003intermedia.net ([207.5.74.29]) with mapi; Thu, 21 Feb 2008 12:12:48 -0800 From: Matt Doller To: Tomcat Users List Date: Thu, 21 Feb 2008 12:10:42 -0800 Subject: RE: Multiple Hosts all using the same web application instance Thread-Topic: Multiple Hosts all using the same web application instance Thread-Index: Ach0t249xFqvqvBdTc2Oaa7YWT0QUAAAjBwAAAMKYhA= Message-ID: <291F8CE2F7D53346BE9D0D45FF1524B11DF2EF1E5F@EXVMBX003-2.exch003intermedia.net> References: <291F8CE2F7D53346BE9D0D45FF1524B11DF2EF1DD8@EXVMBX003-2.exch003intermedia.net> <2828B04F0113CD468E6D1D51DF4362A404FA6159@USEA-EXCH2.na.uis.unisys.com> In-Reply-To: <2828B04F0113CD468E6D1D51DF4362A404FA6159@USEA-EXCH2.na.uis.unisys.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] > Sent: Thursday, February 21, 2008 1:49 PM > To: Tomcat Users List > Subject: RE: Multiple Hosts all using the same web application instance > Do you want to share the .war files across the multiple hosts, or do > you > actually want to have just one running instance of the webapp for all > hosts? > > If the former, you can specify the same appBase for each , or you > can supply a element in each > conf/Catalina/[host]/[appName].xml that points to a common absolute > docBase, outside of any appBase. > > If you really only want one running instance of the webapp, I think you > could get rid of the multiple elements, and use > attributes in a single instead. Thanks for the quick response - Sorry, I should have included this the first time around: each site is comp= letely deployed with the content outside of the tomcat directory - that is: C:/sites/site1/ROOT/WEB-INF/classes/... C:/sites/site1/ROOT/META-INF/... C:/sites/site1/ROOT/index.jsp C:/sites/site1/ROOT/someDir/index.jsp Nothing is in the conf/Catalina directory for any of my sites, so I'm not s= ure how to go about the first option. I think if I try the second option, creating aliases for each site instead = of individual hosts, I won't be able to run the site-specific servlets - is= that correct? After reading your email, I suppose it makes more sense for all the sites t= o share the .war file, as opposed to having one running instance, however m= y sites aren't deployed through tomcat, so I don't have any config info in = conf/Catalina/[host]/[appName].xml... Thanks again, Matt --------------------------------------------------------------------- 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