3 Replies Latest reply on Jun 23, 2011 4:15 PM by wdfink

    New to JBoss - problem with clusters

    andyknott

      Evening

       

      Im a college student who is studying integrsation patterns, and want to look to practice some of my skills using the JBoss application server - so I've download the version 6 product.

       

      Whilst I've got he basic server working, I'm struggling to  find detailed resources about how to configure JBoss correctly.

       

      I've installed 2 VMs and I've installed Apache with mod_jk, and I'm trying to get clustering to work -however when I try to start JBoss on two different machines I get the following errors message continually appearing - which I know are related to the hornetq component (which is related to messaging that I'm notusing at this stage)

       

      2011-06-21 18:35:06,984 WARN  [org.hornetq.core.cluster.impl.DiscoveryGroupImpl] (hornetq-discovery-group-thread-dg-group1) There are more than one servers on the network broadcasting the same node id. You will see this message exactly once (per node) if a node is restarted, in which case it can be safely ignored. But if it is logged continuously it means you really do have more than one node on the same network active concurrently with the same node id. This could occur if you have a backup node active at the same time as its live node.

       

      Now I have started the Jboss instance using the command

       

      run -c all -b 'IP address' -djboss.messaging.serverpeerid=1 on the first node, and peerid=2 on the second node (these are running on W2008 servers).

       

      Can someone please clarify:

       

      - if there is a simple way of setting different node IDs in an XML file - and clarify which XML file this should be - on the basis that I'm using JBoss 6.0.0.

      - is there a simple way of disabling the hornetq component, since I don't need it at this stage?

       

      Any help would be gratefully appreciated - as I've spent all day on this.

       

      Thanks

        • 1. Re: New to JBoss - problem with clusters
          wdfink

          The '-djboss.messaging.serverpeerid=' is to configure JBossMessaging (included in JBoss 5.x), not hornetQ.

           

          If you want to remove hornetQ remove the server/.../deploy/hornetq from your installation.

          • 2. Re: New to JBoss - problem with clusters
            andyknott

            Wolf-Dieter

             

            Thanks very much for the response - I have removed those files and whilst the problem goes away it isn't a very clean solution - is there a resource which might help me understand how to configure HornetQ with the relevant IDs so that I can keep this component in the stack but not get the conflict?

             

            Cheers

            • 3. Re: New to JBoss - problem with clusters
              wdfink

              Unfortunately not, I'm looking also for a documentation but I found only a (wrong) documentation for JBoss 6, it is mostly the JBossMessaging documentation from 5.x version.

              But it is in progress, there are different threads about this.