> -----Original Message----- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > 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 <Host>, or you > can supply a <Context> 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 <Host> elements, and use <Alias> > attributes in a single <Host> instead.
Thanks for the quick response - Sorry, I should have included this the first time around: each site is completely 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 sure 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 to share the .war file, as opposed to having one running instance, however my 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]