Hello!

What is the recommed way to lookup an HA singleton MBean from (clustered) EJB? Should 
I use the RMIAdaptor like this:



  | Context context = new InitialContext();
  | Object o = context.lookup("jmx/invoker/RMIAdaptor");
  | RemoteMBeanServer mbeanServer = new RMIConnectorImpl((RMIAdaptor) o);
  | mbeanServer.invoke(...)
  | 


I just want to make sure that I get the reference to the singleton MBean from any node 
of the cluster regardless if the node is master or not.

Thanks,
Thorsten

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

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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to