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

bstansberry@jboss.com do-not-reply at jboss.com
Wed Jun 11 20:58:51 EDT 2008


>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.

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

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



More information about the jboss-user mailing list