I've looked through the jmx console, and FAQ and looking for an MBean with an attribute that exposes the cluster/partition name the JBoss server is connected to.
I found the "jboss:service=clustername" MBean, but if I don't know the clustername, I can't query for it. This MBean has several details I could use, but it looks like I'll need to query the MBeanServer at least twice just to get it.
I need a reliable method of retrieving the cluster name for versions 4.0.0 to 4.2.2
Any hints would be appreciated, thanks in advance.
I would appreciated also to know how to determine cluster name programmaticly ??
If any guy of Jboss team know the solution or somebody ??