Sorry - I neglected to point out that this example uses JNDI to initially access the mbean
server. You'll need to configure an initial context to access the server.
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
env.put(Context.PROVIDER_URL, "jnp://localhost: 1099");
env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
Context ic = new InitialContext(env);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027671#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...