[jboss-user] [Clustering/JBoss] - Re: How to get IP address of JBoss instances

tvbinh do-not-reply at jboss.com
Fri Jun 20 00:47:18 EDT 2008


"bstansberry at 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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159428#4159428

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159428



More information about the jboss-user mailing list