tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Tomact 5.5 Clustering
Date Thu, 09 Jun 2011 14:35:55 GMT
On 09/06/2011 15:30, Tauqir Akhtar wrote:
> Hi
> 
> I am running two Tomcat (5.5.27) Instances on two different machines deploying the same
Java Application.
> 
> I have made changes in server.xml to specify the Port on which Tomcat should run on the
two machines.
> 
> On Machine 1 : <Connector port="8001"
> 
> On Machine 2 : <Connector port="8002"
> 
> Both the Instances are running fine.
> 
> What other configuration changes (In which files) do I need to make to run these two
Tomcat Instances in one Cluster?
> 
> I have following variables set in the machine environment:
> 
> CATALINA_OPTS : -Xms512m -Xmx1024m
> JAVA_OPTS      : -Xmx768m
> JAVA_HOME      : C:\Program Files\Java\jdk1.5.0_11
> 
> What other changes I need to make to run more Tomcat Instances from the same Installation
on each machine?
> 
> For Example:
> On Machine 1 :    <Connector port="8001"
>                   <Connector port="8003"
> 
> On Machine 2 :    <Connector port="8002"
>                   <Connector port="8004"
> 
> I want to run all these instances in a cluster.
> 
> Your help will be highly appreciated.

Have you added/enabled the Cluster element to/in your server.xml?

 http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html


p


Mime
View raw message