Jeremy, I do this _on_unix_ by having a single install of my tomcat at CATALINA_HOME and then using installs of the config for the servers running on two different ports at CATALINA_BASE. I got this strategy from the O'Reilly book on Tomcat. It has worked really well for a test environment on the production box (thus sharing SSL configs). Your mileage may vary on Windows, but I think the O'Reilly Tomcat manual covers Win server installs.
KC On Aug 2, 2010, at 11:26 AM, Jeremy Bennett wrote: > Hi, > > I'm looking to save server VMs by getting Tomcat (v6) to host different CAS > environments. I can easily do this with hostname headers in IIS, so I tried > to google it. I tried to add another part to the server.xml config: > > <Host name="site1" appBase="webapps" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > > <Host name="site2" appBase="webapps2" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > > I copied my webapps directory and changes it to webapps2. Tomcat refused to > start. Can anyone give me some advice where to look next? > > Thanks, > Jeremy > > Jeremy R. Bennett > Client Systems Developer/Analyst > Narragansett Bay Insurance Company > 25 Maple Street > Pawtucket, RI 02860 > (401) 495-0776 - Direct > (401) 495-9776 - Fax > > <image001.jpg> The #1 Choice for Responsible Homeowners > > > > This e-mail message (including attachments, if any) is intended for the use > of the individual or entity to which it is addressed and may contain > information that is privileged, proprietary, confidential and exempt from > disclosure. If you are not the intended recipient, you are notified that any > dissemination, distribution or copying of this communication is strictly > prohibited. If you have received this communication in error, please notify > the sender and erase this e-mail message immediately. > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
