This content has been marked as final.
Show 2 replies
-
1. Re: How to get IP address of JBoss instances
brian.stansberry Jun 11, 2008 8:58 PM (in response to tvbinh)From the jboss:service=DefaultPartitionMBean, get the HAPartition attribute. On that, invoke HAPartition.getClusterNodes(). That will return ClusterNode[], with each element representing a member of the current view. ClusterNode.getIpAddress() and getPort() will return the address/port JGroups is using.
-
2. Re: How to get IP address of JBoss instances
tvbinh Jun 20, 2008 12:47 AM (in response to tvbinh)"bstansberry@jboss.com" wrote:
From the jboss:service=DefaultPartitionMBean, get the HAPartition attribute. On that, invoke HAPartition.getClusterNodes(). That will return ClusterNode[], with each element representing a member of the current view. ClusterNode.getIpAddress() and getPort() will return the address/port JGroups is using.
I got it worked. Thank you very much for you help.