[jboss-user] [Installation, Configuration & Deployment] - Re: jmx - invocation amethod inside a sleepycat mbean
PeterJ
do-not-reply at jboss.com
Mon Oct 2 18:15:56 EDT 2006
Looku[ the server connection via JNDI. To do this, replace your first line of code with the following:
Hashtable env = new Hashtable();
| String factory = "org.jnp.interfaces.NamingContextFactory";
| env.put(Context.INITIAL_CONTEXT_FACTORY, factory);
| String url1 = "jnp://localhost:1100";
| env.put(Context.PROVIDER_URL, url1);
| Context ctx = new InitialContext(env);
| MBeanServerConnection mconn = (MBeanServerConnection)ctx.lookup("jmx/invoker/RMIAdaptor");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975622#3975622
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975622
More information about the jboss-user
mailing list