I didnt mean mcastAddr, I meant tcpListenAddress, you have this set to 127.0.0.1 
(Loopback) which is not available for external access so the mulitcast will never get 
to it.

I'm not sure what's causing your exception though, you'd need to post the cluster part 
of your server.xml for a better guess at the problem.

Ta
Matt

-----Original Message-----
From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED]
Sent: 17 August 2004 12:05
To: Tomcat Users List
Subject: RE: Tomcat clustering


Matt,

Thanks for the reply. Do you mean "mcastAddr" the loopback address? If yes,
I am not using the root machine(Load Balancer, or the machine which takes
request from clients) for clustering.

And before that, seems that the cluster-nodes are not starting the cluster
service. I am getting the following exception at the console.

SEVERE: Unable to start cluster.
java.lang.NullPointerException
        at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:804)
        at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:756)
        at
org.apache.catalina.cluster.MembershipFactory.getMembershipService(Membershi
pFactory.java:93)
        at
org.apache.catalina.cluster.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java
:491)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1115)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:234

Can you please tell me where I was wrong.

Regards,
Srinivas


-----Original Message-----
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 4:17 PM
To: Tomcat Users List
Subject: RE: Tomcat clustering



I think you may have 2 problems here, firstly the port has to be the same
accross all the tomcats and secondly (I could be wrong about this one) but I
think by specifying the loopback address as the listen address means that it
wont listen on the external interface, therefore the multicast will never be
heard.

Ta
Matt

-----Original Message-----
From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED]
Sent: 17 August 2004 11:26
To: Tomcat Users List
Subject: Tomcat clustering


I am getting problems in configuring my tomcat for clustering. Nodes are not
recognizing each other. "mcastAddr" has the same IP for all the nodes. Can
someone tell what this property is for. My tcpListenAddress is 127.0.0.1 for
all the nodes but port is different. In my rules.xml in the Load Balancer, I
am giving the machine names for "tcpListenAddress".

Still it is not working. Is there anything to be done. Why my nodes are not
recognizing each other. I appreciate any help.

Regards,
Srinivas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to