I was using the following code to get MBeanServer remotely

private MBeanServer getMBeanServer() throws NamingException {
        String connectorName = "jmx/rmi/RMIAdaptor";
        RMIAdaptor server = (RMIAdaptor)new InitialContext().lookup(connectorName);
        MBeanServer mbServer = new RMIConnectorImpl(server);
        return mbServer;
    }


But this doesn't work in 4.0.0.  Could you please tell me how to do this in 4.0.0?

Thanks,
-AJ

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to