3 Replies Latest reply on Sep 4, 2015 3:11 AM by ankush raj

    Jboss 5 in Cluster

    ankush raj Newbie

      Hi All,

       

      I am new to jboss. I am trying to configure jboss 5 in cluster with 2 node on different server's. Protocol used is tcp with MPING ( autodiscovery : enabled ). Jboss starts successfully, but we gets below error onces, after it doesn't comes. 

       

      07:02:18,240 ERROR [NAKACK] sender hostname1:7900 not found in xmit_table

      07:02:18,240 ERROR [NAKACK] range is null

       

      Questions which I have is as follows :--

       

      1) why is above error coming ?

      2) If I do multicast test on IP and port which is 224.10.10.10 & 5555 , it works with server with serverpeerid '0' as sender and server with serverpeerid '1' as receiver but not vice versa.

      3) How can I see current member in a given cluster.


      Thanks & Regards,

      Ankush

        • 1. Re: Jboss 5 in Cluster
          Wolf-Dieter Fink Master

          Is there a special reason to use TCP? UDP will be simple to configure but you need to have multicast for your network.

          The other option is to use TCP witk static TCPPING node detection, but here you need to add all IP/port addresses from all your nodes at each node to the config

          • 2. Re: Jboss 5 in Cluster
            ankush raj Newbie

            I have tried default udp configuration but i am getting below error more frequently,

             

            07:10:28,264 WARN  [NAKACK] y.y.y.y:41883] discarded message from non-member x.x.x.x:50681, my view is [y.y.y.y:41883|0] [y.y.y.y:41883]

            07:10:28,270 ERROR [NAKACK] sender x.x.x.x:50681 not found in xmit_table

            07:10:28,270 ERROR [NAKACK] range is null

            07:10:57,936 ERROR [NAKACK] sender x.x.x.x:7900 not found in xmit_table

            07:10:57,937 ERROR [NAKACK] range is null

            07:25:24,133 WARN  [NAKACK] y.y.y.y:41883] discarded message from non-member x.x.x.x:50681, my view is [y.y.y.y:41883|0] [y.y.y.y:41883]

            07:25:24,813 WARN  [NAKACK] y.y.y.y:41883] discarded message from non-member x.x.x.x:50681, my view is [y.y.y.y:41883|0] [y.y.y.y:41883]

            07:25:44,533 WARN  [NAKACK] y.y.y.y:41883] discarded message from non-member x.x.x.x:50681, my view is [y.y.y.y:41883|0] [y.y.y.y:41883]

            07:25:44,549 ERROR [NAKACK] sender x.x.x.x:50681 not found in xmit_table

            07:25:44,550 ERROR [NAKACK] range is null

            07:25:44,563 WARN  [FD_SOCK] (GET_CACHE_RSP): cache is null

            07:25:45,565 WARN  [FD_SOCK] received null cache; retrying

             

            Please advise.

             

            Thanks,

            Ankush

            • 3. Re: Jboss 5 in Cluster
              ankush raj Newbie

              Hi Fink,

               

              While going some more details ,I came across below finding :--

               

              In JMX console, browse "jboss.messaging:service=PostOffice" MBean, you should see (at the bottom of attributes list) NodeIDView" attribute will have values as [1,2]. OR -- look in each node in the appropriate file (search for jboss.messaging:service=PostOffice) under JBoss home.

               

              When i browsed through jmx-console of server I have configured, I didn't find two serverpeerid, it is as shown below :--

               

              NodeIDViewRjava.util.SetGet the set of nodes in the cluster
              [0]    

               

               

              Could you please advise over this and suggest configuration needed to make cluster work.

               

              Thanks in advance,

              Ankush