7 Replies Latest reply on Nov 25, 2010 5:24 AM by a.novarini

    Different partitions, same cluster?

    a.novarini

      Hi all,

       

      I'm having a strange problem with clustering on JBoss 5.1.0.GA.

       

      Basically, I'm running the 'all' configuration, specifying the parameter -g (but the same with -Djboss.partition.name) with different names for each node.

       

      One of the examples is: two jboss instances on the same machine.

       

      Node1: ./run.sh -c all -Djboss.partition.name=FirstPartition

      Node2: ./run.sh -c all-node2 -Djboss.service.binding.set=ports-01 -Djboss.messaging.ServerPeerID=1 -Djboss.partition.name=SecondPartition

       

      all and all-node2 are the same, all-node2 is just a copy of all

       

      The result log is, on the node2, but it's the same for node1:

       

      12:27:38,762 INFO  [GroupMember] New Members : 2 ([127.0.0.1:54061, 127.0.0.1:62242])

      12:27:38,762 INFO  [GroupMember] All Members : 2 ([127.0.0.1:54061, 127.0.0.1:62242])

      12:27:38,892 WARN  [TCP] failed to join /224.0.0.75:7500 on en1: java.net.SocketException: Address already in use

      12:27:38,76212:27:38,762 INFO  [GroupMember] New Members : 2 ([127.0.0.1:54061, 127.0.0.1:62242])
      12:27:38,762 INFO  [GroupMember] All Members : 2 ([127.0.0.1:54061, 127.0.0.1:62242])
      12:27:38,892 WARN  [TCP] failed to join /224.0.0.75:7500 on en1: java.net.SocketException: Address already in use INFO  [GroupMember] New Members : 2 ([127.0.0.1:54061, 127.0.0.1:62242])
      12:27:38,762 INFO  [GroupMember] All Members : 2 ([127.0.0.1:54061, 127.0.0.1:62242])
      12:27:38,892 WARN  [TCP] failed to join /224.0.0.75:7500 on en1: java.net.SocketException: Address already in use

       

      What we did is to change the udp address for one partition, but I'm sure it worked fine with previous versions, and I am sure this is something so evident that there must be something "outside" jboss that I don't get right.

       

      Do you have any advice on it?

       

      Thanks a lot

      Ale