Hi

Cluster did start , but I am getting exception :

INFO: membership mbean registered 
(Catalina:type=ClusterMembership,host=localhost)
Jun 20, 2011 11:44:31 AM org.apache.catalina.cluster.deploy.FarmWarDeployer 
start
INFO: Cluster FarmWarDeployer started.
Exception in thread "Cluster-MembershipReceiver" java.lang.OutOfMemoryError: 
Java heap space
        at 
org.apache.catalina.cluster.mcast.McastMember.getMember(McastMember.java:174)
        at 
org.apache.catalina.cluster.mcast.McastServiceImpl.receive(McastServiceImpl.java:242)
        at 
org.apache.catalina.cluster.mcast.McastServiceImpl$ReceiverThread.run(McastServiceImpl.ja
va:330)

Thanks 
 
Tauqir Akhtar
212 801 8039

-----Original Message-----
From: János Löbb [mailto:janos.l...@yale.edu] 
Sent: Thursday, June 09, 2011 12:37 PM
To: Tomcat Users List
Subject: Re: Tomact 5.5 Clustering


On Jun 9, 2011, at 10:30 AM, 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.
> 
> 
> Thanks
> 
> Tauqir Akhtar
> 

Are the two machines in the same subnet ?  Is multicasting work ?  What do you 
see in the logs ?  Are there any memberships established ?  Etc...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



######################################################################

NOTICE:
The contents of this e-mail and any attachments to it may contain privileged 
and confidential information from The Jones Group Inc. or its affiliates.  This 
information is only for the viewing or use of the intended recipient.  If you 
are not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution or use of, or the taking of any action in reliance upon, 
the information contained in this e-mail, or any of the attachments to this 
e-mail, is strictly prohibited.  If you have received this e-mail in error, 
please immediately notify the sender by replying to this message and delete it 
from your system.

#######################################################################



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

Reply via email to