0 Replies Latest reply on Apr 26, 2004 8:08 PM by Zion Zion

    How to connect master SingletonMBean

    Zion Zion Newbie

      Suppose there is a singleleton MBean in cluster partition. (see http://www.onjava.com/pub/a/onjava/2003/08/20/jboss_clustering.html)
      My problem is: how to connect the MBean on master node?

      one possible(not perfect) solution:
      1. in mbean.startSingleton(), register the host name in HA-JNDI, e.g. myservice/singleton/host="192.168.1.10";

      2. client looks up the "myservice/singleton/host" through HA-JNDI

      3. client use RMIAdaptor to connect the MBean on the 192.168.1.10.


      Dake[/url]