2 Replies Latest reply on Oct 7, 2011 6:40 AM by Yogesh P

    Issue with two jboss instances on the same network

    Yogesh P Newbie



      I have a jboss 2.6 installation. I have two instances of Jboss with different IP addresses running on the same network. Thus, whenever i start both the instances, they identify eachother and they form a cluster. This results into a conflict, as whatever changes made on one Jboss Portal gets reflected on the other instance and vice-versa.


      I tried out with some solutions such as:


      1) Giving a different partition name as mentioned in this link(http://community.jboss.org/wiki/ChangingAClusterPartitionName) using the command : -g -Djboss.partition.name=name, but still the two instances formed a cluster.


      2) I also followed this link : http://work-zone.blogspot.com/2007/12/jboss-disable-cluster.html and changed the default mcast_port as mentioned, but still there is no success.


      Could someone please help me with the configuration steps to avoid clustering in Jboss. I want to disable the default clustering in Jboss.


      Any refernces or suggestion would be of great help.


      Thanks & Regards,



        • 1. Re: Issue with two jboss instances on the same network
          Wolf-Dieter Fink Master

          Thats a quite old version of JBoss, I can't remember how it was

          But I think that run.sh options are not working, this is mentionend in the doc-link you've posted.


          I suppose you use the 'all' configuration (I think there was a similar structure below */server).

          To disable clustering you should use the 'default' configuration which is without clustering.

          An other option will be to serarch the JGroups configuration and find the mcast addresses and change it.

          Also, but I'm not 100% sure, is to separate the two instances by different subnetworks, in this case multicast is often suppressed by network.


          Unfortunately I don't have such old version and there is no simple download.


          But is there an option to switch to 4.x? I know that there is mostly no need if it works

          • 2. Re: Issue with two jboss instances on the same network
            Yogesh P Newbie

            Thank you very much Wolf-Dieter Fink. Was trying to do as much as i can with the jboss portal 2.6 version that i worked with for an application. Unfortunately, i am still unable to avoid clustering. Will post it here if i get any results after some more trial and error process.


            Thanks again for the reply.