Thanks for the reply.  The reason we wanted multiple instances was that hot
deploy fails from time to time so we need to restart TC.  We want to be able
to modify 1 app without affecting the other.

Anyway, we've decide to just go with a separate VM for now :-)

Thanks again.




awarnier wrote:
> 
> homerlex wrote:
>> I have Centos 5 on which I yum installed Tomcat5.
>> 
>> Does anyone have tips for setting up multiple instances of TC in this
>> configuration?  I have seen some how-tos with other flavors of Linux. 
>> Its
>> it going to be a matter of copying some files around and customizing the
>> /etc/init.d/tomcat5 script?
>> 
> Basically yes, plus changing the ports used by each instance in its own 
> private conf/server.xml file.  But that is easier said than done if you 
> are using a pre-packaged version which sets up symlinks all over the
> place..
> 
> The first question that should probably be asked is whether you really 
> need several Tomcat instances, as opposed to one instance with several 
> <Host>'s.  That is a lot easier to achieve, and it may be enough for 
> what you have in mind.  Each such <Host> has a distinct DNS name, and a 
> distinct ../webapps directory, so you can segregate things quite 
> flexibly without going through the hassle of changing startup scripts 
> and links.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Multiple-Instance-of-Tomcat-5-on-Centos-5-tp25975547p25976821.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to