5 Replies Latest reply on Sep 5, 2012 7:32 AM by Radoslav Husar

    jboss 7 How to get All ClusterNodes

    sudhananthan B Newbie

      In previous jboss version i.e in jboss 5, i followed below steps to get the cluster node details.

       

                 Context ctx = new InitialContext();

                  HAPartition partition = (HAPartition) ctx.lookup("HAPartition/" + getClusterName());

       

                  if (partition != null)

                  {

                      return partition.getClusterNodes();

                  }

       

      In jboss 7 HAPartition is not present and cluster nodes are identified by its unique multicast address (refer https://community.jboss.org/thread/177877).

       

      So please  provide me steps to get all the clusternodes in jboss 7.

       

      Thanks in advance,

      Sudhananathan B