1 Reply Latest reply on Aug 30, 2011 11:33 PM by Frank Liu

    JBoss AS6 don't bind tcp port 7600 on cluster TCP

    Kleber Rocha Newbie



      I want to start JBoss cluster with -Djboss.default.jgroups.stack=tcp, and use TCPPING.

      I pass to JBoss the parameter -Djgroups.tcpping.initial_hosts=A.com.br[7600],B.com.br[7600],C.com.br[7600],D.com.br[7600].

      Everything is starting without any problems, but servers don't bind tcp port 7600, below the tcpdump output:


      16:47:19.723069 IP > S 3097531198:3097531198(0) win 5840 <mss 1460,sackOK,timestamp 11779936 0,nop,wscale 9>

      16:47:19.723330 IP > R 0:0(0) ack 3097531199 win 0


      How we can see, the cluster are trying ping to other node, but the tcp port 7600 don't bind.

      What I'm doing wrong?



        • 1. Re: JBoss AS6 don't bind tcp port 7600 on cluster TCP
          Frank Liu Newbie

          The jgroup jar shipped with jboss 6.10 is actually too new for the configuration xml. find the file jgroups-channelfactory-stacks.xml and the change the tcp stack and tcp-sync stack from <TCP start_port=""   to <TCP bind_port=""


          Also remember the default tcp configuration uses udp broadcast for discovery and tcp for data transfer. So if broadcast is not allowed make sure to change the configuration to alternative 2.