Hi,
I have a problem accessing an MBean that is deployed on a remote server. The setup is that I have MBeans that are deployed on only a subset of the cluster nodes. I need to look up the MBean I need to use using HA-JNDI, but since I need to use an RMIAdaptor to access the MBean I need some convenient way of creating an RMIAdaptor for the node on which the MBean has been deployed.
How can I during runtime find out which server a particular MBean is running on, so I can look up that node's RMIAdaptor and invoke methods on the MBean? Typically the MBean will not be deployed locally on the node that needs to access it.
Thanks!
/Johan