3 Replies Latest reply on Jan 30, 2016 5:19 AM by wdfink

    Clustering issue in jboss4-0.5

    vimala

      Hi,

       

      I am new to jboss.

      I have just migrated jboss application to new server linux. The application started up fine if only 1 node started up but when 2nd node started up, it throws exception.  I am seeing the below

      The 1st node cannot be seen in node 2.

      Thanks for any advise or help on this.

       

      -------------------------------------------------------

      GMS: address is xxxx-xxx-b002:51647

      -------------------------------------------------------

      2016-01-06 01:12:07,924 INFO  [TreeCache] viewAccepted(): [xxxx-xxx-b002:51647|0] [xxxx-xxx-b002:51647]

      2016-01-06 01:12:07,931 INFO  [TreeCache] TreeCache local address is xxxx-xxx-b002:51647

      2016-01-06 01:12:07,932 INFO  [TreeCache] State could not be retrieved (we are the first member in group)

      2016-01-06 01:12:07,932 INFO  [TreeCache] parseConfig(): PojoCacheConfig is empty

      2016-01-06 01:12:08,432 INFO  [StgGtasPartition] Initializing

      2016-01-06 01:12:08,448 INFO  [STDOUT]

      -------------------------------------------------------

      GMS: address is xxxx-xxx-b002:40206 (additional data: 20 bytes)

      -------------------------------------------------------

      2016-01-06 01:12:10,453 INFO  [StgGtasPartition] Number of cluster members: 1

      2016-01-06 01:12:10,453 INFO  [StgGtasPartition] Other members: 0

      2016-01-06 01:12:10,453 INFO  [StgGtasPartition] Fetching state (will wait for 30000 milliseconds):

      2016-01-06 01:12:10,454 INFO  [StgGtasPartition] New cluster view for partition StgGtasPartition (id: 0, delta: 0) : [xxx.xxx.xx.xxx:31099]

      2016-01-06 01:12:10,454 INFO  [StgGtasPartition] State could not be retrieved (we are the first member in group)

      2016-01-06 01:12:10,456 INFO  [StgGtasPartition] I am (xxx.xxx.xx.xxx:31099) received membershipChanged event:

      2016-01-06 01:12:10,457 INFO  [StgGtasPartition] Dead members: 0 ([])

      2016-01-06 01:12:10,460 INFO  [StgGtasPartition] New Members : 0 ([])

      2016-01-06 01:12:10,460 INFO  [StgGtasPartition] All Members : 1 ([xxx.xxx.xx.xxx:31099])

        • 1. Re: Clustering issue in jboss4-0.5
          wdfink

          How do you start JBoss and where are the two instances located?

          Do you use the default configuration with JGroups UDP-multicast configuration?

          Often the issue is that multicast is blocked by the network

          • 2. Re: Clustering issue in jboss4-0.5
            vimala

            Hi Fink,

            Thank you for your reply.

             

            The two instances located at 2 different server with respective IP. Since 1st node is the main, I started node1 then node2.

            I can see the two IPs listed in JMX-Console under same partition.

            I used the default configuration with JGroup UDP-muticast configuration but the UDP and partition name is changed in setenv.sh

             

            Regards,

            Vimala

            • 3. Re: Clustering issue in jboss4-0.5
              wdfink

              If you change the UDP and partition name the servers are separated and not building a cluster, this is the expected behaviour!

              Also you did not show an Exception as mentioned in your first comment.