4 Replies Latest reply on Feb 9, 2012 1:46 PM by Wolf-Dieter Fink

    JBoss Clustering issue

    Hetvi Mistry Newbie

      We have setup JBoss Clustering of multiple JBoss instances on 2 different physical linux servers. We have an issue that the clustering is not able to form. The issue is found only when the two instances which are required to form a cluster are on different boxes. If the instances are on same box, they can form the cluster without any issue and works fine.

      We have passed multicast IPs in the startup scripts and the servers are multicast enabled.

      But in the start.log of these instances, didn't find any other member for the cluster when the instances are on different boxes.

       

      There are two frequent errors on the server.log for both isntances.

       

      1. SocketException: Broken Pipe - This error shows up on log every 5 mins

       

      2. Workder Thread Initialization Failure , java.io.EOFException

       

      Not sure if these errors are related to the clustering issue. Any idea what could be wrong for JBoss - JMS instances to form a cluster.

        • 1. Re: JBoss Clustering issue
          navuri prasad Newbie

          Hi Hetvi Mistry,

           

                                   Will you please provide me step by step procedure for instances are on same box.

           

          Thanks in advance

          • 2. Re: JBoss Clustering issue
            Wolf-Dieter Fink Master

            Hi Hetvi,

            I suppose you copy the JBoss installation from the same box to a diffenrent and change only the ip address, right? So the configuration should be correct.

             

            How do you start the instances and what version do you use?

             

            I've seen many problems with multicast.

            - must use the same sub-network (or configure the network for this)

            - check network hardware in between of both boxes (switches might drop mcast packages)

            - the configuration of ip-bind-address and mcast address on your box might be wrong

             

            You can play with the test tool of JGroups [1] changing mcast and bind address.

             

            [1] https://community.jboss.org/wiki/TestingJBoss

            1 of 1 people found this helpful
            • 3. Re: JBoss Clustering issue
              Hetvi Mistry Newbie

              Hi Wolf-Dieter,

               

              Thanks a lot for pointing me to this issue.

              Before I posted the issue, we were just having a doubt if our configuration is a problem or there is a network/multicast issue. We took help from the network folks and actualy found out that the multicast IPs which we are using are dropping the virtual connections.

               

              Regd. your queries on how do we start the instances, we have developed startup scripts which internally executes run.sh along with multiple options like -u <Multicast IP>.

              We are right now using, JBoss Enterprise Application Platform 4.3.0.GA_CP09 version.

               

              Thanks for a lot helpful information again.

               

              -Hetvi

               

               

              • 4. Re: JBoss Clustering issue
                Wolf-Dieter Fink Master

                BTW if you are using EAP versions of JBoss you might use the support portal https://access.redhat.com/support/cases/new

                 

                If you are satisfied with the thread you should mark it as (assumed) answered.