[jboss-user] [JNDI/Naming/Network] - Re: Getting remote MBeanServer. Please, help-me!

jaikiran do-not-reply at jboss.com
Thu Jul 31 06:07:01 EDT 2008


anonymous wrote : List list = MBeanServerFactory.findMBeanServer(null); 

This is going to return you the MBeanServer on the local JVM. If you want to access a MBeanServer on a remote server, see the section  "Using the RMIAdaptor" at:

http://wiki.jboss.org/wiki/HowDoIGetRemoteAccessToMyMBean

Remember to pass the correct InitialContext properties.

Having said this, i personally haven't tried it, so am not sure whether its possible to have a remote listener (running in a different JVM) for the notifications emitted by the MBeanServer. 

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

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



More information about the jboss-user mailing list