0 Replies Latest reply on Jun 8, 2011 10:54 AM by ronsen

    Retrieve HA-JNDI port in a cluster

    ronsen

      hey all,

       

      i was just wondering if theres a possibility to retrieve the ha-jndi ports from a cluster view.

      Whenever i retrieve a view, the nodes inside are just stated with the corresponding jndi ports (..99).

       

      The current view is in my case retrieved via

       

        
       haPartition  = (HAPartition)ctx.lookup("/HAPartition/"+partitionName);
      
      

       

      The view I receive is then for example:

       

      Cluster: [127.0.0.1:1299, 127.0.0.1:1199]

       

       

      Thanks in advance,