This code worked for me:

       
  |             Properties env = new Properties();
  |             env.setProperty(Context.INITIAL_CONTEXT_FACTORY,
  |                             "org.jboss.naming.HttpNamingContextFactory");
  | 
  |             env.setProperty(Context.PROVIDER_URL,
  |                             "http://[hostname]:8080/invoker/JNDIFactory";);
  | 
  |             Context ctx = new InitialContext(env);
  | 
  |             MBeanServerConnection server = (MBeanServerConnection) 
ctx.lookup("jmx/invoker/RMIAdaptor");
  | 
  | 

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to