2 Replies Latest reply on Jan 8, 2012 3:20 AM by ylq2250 kun

    Issue Clustering JBoss 5 over two computer

    Davide Cerbo Newbie

      Hi all, during developmente I have trying cluster on the same same machine and all works fine.
      Now I need to try it on two different computer. I have a OSx and a Xubuntu notebook to do this test.
      I start the instance with:
      ./run.sh -c node1 -g DocsPartition -b 0.0.0.0 -Djboss.messaging.ServerPeerID=1 -Djboss.default.jgroups.stack=tcp -Djgroups.tcpping.initial_hosts=192.168.1.151:7600,192.168.1.152:7600

      and

      ./run.sh -c node2 -g DocsPartition -b 0.0.0.0 -Djboss.messaging.ServerPeerID=2 -Djboss.default.jgroups.stack=tcp -Djgroups.tcpping.initial_hosts=192.168.1.151:7600,192.168.1.152:7600

      The ips of my cluster are: 192.168.1.151 and 192.168.1.152.
      The instances starts, but the session replication doesn't works.
      In the first node I see this log:
      INFO [RPCManagerImpl] Received new cluster view: [192.168.1.151:7600|0] [192.168.1.151:7600]
      While in second node:
      INFO [RPCManagerImpl] Received new cluster view: [127.0.1.1:7600|0] [127.0.1.1:7600]

      That's all folks.
      Someone can help me? Contact me If you need more information
      thanks in advantage,
      Davide