[jboss-user] [Clustering/JBoss] - TCP Clustering problem

somejunk do-not-reply at jboss.com
Wed Nov 1 18:52:58 EST 2006


Hi

I have two instances of JBoss 4.0.2 running on two different machines in a cluster. One node is automatically detecting the other node if I use UDP stack. If I use TCP stack, they are not communicating.  I am getting the following messages frequently.

2006-11-01 16:41:04,975 INFO  [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 31s:439ms
2006-11-01 16:41:31,413 WARN  [org.jgroups.protocols.TCP] discarded message from different group (sb1585). Sender was APP2:7800 (additional data: 20 bytes)
2006-11-01 16:41:37,476 WARN  [org.jgroups.protocols.TCP] discarded message from different group (tomcat=sb1585). Sender was APP2:7810
2006-11-01 16:41:42,757 WARN  [org.jgroups.protocols.TCP] discarded message from different group (sb1585). Sender was APP2:7800 (additional data: 20 bytes)
2006-11-01 16:41:47,789 WARN  [org.jgroups.protocols.TCP] discarded message from different group (tomcat=sb1585). Sender was APP2:7810
2006-11-01 16:41:54,523 WARN  [org.jgroups.protocols.TCP] discarded message from different group (sb1585). Sender was APP2:7800 (additional data: 20 bytes)
2006-11-01 16:41:59,664 WARN  [org.jgroups.protocols.TCP] discarded message from different group (tomcat=sb1585). Sender was APP2:7810
2006-11-01 16:42:04,492 WARN  [org.jgroups.protocols.TCP] discarded message from different group (sb1585). Sender was APP2:7800 (additional data: 20 bytes)

I have changed UDP to TCP in both cluster-service.xml and tc5-cluster-service.xml. 

Here is the TCP stack for node1 and node 2 in cluster-service.xml

	
            <TCP bind_addr="100.10.2.80" start_port="7800" loopback="false"/>
            <TCPPING initial_hosts="100.10.2.80[7800],100.10.2.90[7800]" port_range="3" timeout="3500"
               num_initial_members="3" up_thread="true" down_thread="true"/>
            <MERGE2 min_interval="5000" max_interval="10000"/>
            <FD shun="true" timeout="2500" max_tries="5" up_thread="true" down_thread="true" />
            <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false" />
            <pbcast.NAKACK down_thread="true" up_thread="true" gc_lag="100"
               retransmit_timeout="3000"/>
            <pbcast.STABLE desired_avg_gossip="20000" down_thread="false" up_thread="false" />
            <pbcast.GMS join_timeout="5000" join_retry_timeout="2000" shun="false"
               print_local_addr="true" down_thread="true" up_thread="true"/>
            <pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/>
         
	 
I am using the port 7810 for the TCP stack in tc5-cluster-service.xml. Please help me in resolving this. Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982497#3982497

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982497



More information about the jboss-user mailing list