Previous Topic: How to Install CA IdentityMinder on a JBoss ClusterNext Topic: Create the Master Node for JBoss 5


Test the Default Multicast Address

The run script uses a multicast address, either the default address or an alternative address supplied by your network administrator.

Follow these steps:

  1. Install JBoss and the JDK on the computer.
  2. Run sender on first node as follows:
    1. Navigate to the lib folder.
      • On a JBoss 5 node, navigate to jboss-home-1/server/all/lib.
      • On a JBoss 6.1 node, navigate to jboss-eap-6.1\modules\system\layers\base\org\jgroups\main.
    2. Run the following command:

      java -cp jgroups-3.2.7.Final-redhat-1.jar org.jgroups.tests.McastReceiverTest -mcast_addr 224.10.10.10 -port 5555

  3. Run receivers on other nodes in the cluster as follows:
    1. Navigate to the lib folder.
      • On a JBoss 5 node, navigate to jboss-home-1/server/all/lib.
      • On a JBoss 6.1 node, navigate to jboss-eap-6.1\modules\system\layers\base\org\jgroups\main.
    2. Run the following command:

      java -cp jgroups-3.2.7.Final-redhat-1.jar org.jgroups.tests.McastReceiverTest -mcast_addr 224.10.10.10 -port 5555

  4. Send a message from the first node as follows:
    1. On the console of the first node, enter any text and press enter.
    2. Confirm that a reply appears, to acknowledge the text was sent.
    3. Confirm that the message appears on the console of all other nodes in the cluster.
    4. If either the send or receive test fails, ask your network administrator to provide a multicast address that works and repeat this test.