28.6.3. JGroups Troubleshooting
220.127.116.11. Nodes do not form a cluster
<JBOSS_HOME>/server/production/libdirectory and start McastReceiverTest, for example:
[lib]$ java -cp jgroups.jar org.jgroups.tests.McastReceiverTest -mcast_addr 18.104.22.168 -port 5555
[lib]$ java -cp jgroups.jar org.jgroups.tests.McastSenderTest -mcast_addr 22.214.171.124 -port 5555
-bind_addr 192.168.0.2, where 192.168.0.2 is the IP address of the NIC to which you want to bind. Use this parameter in both the sender and the receiver.
McastSenderTestwindow and see the output in the
McastReceiverTestwindow. If not, try to use
-ttl 32in the sender. If this still fails, consult a system administrator to help you setup IP multicast correctly, and ask the admin to make sure that multicast will work on the interface you have chosen or, if the machines have multiple interfaces, ask to be told the correct interface. Once you know multicast is working properly on each machine in your cluster, you can repeat the above test to test the network, putting the sender on one machine and the receiver on another.