[jboss-user] [Clustering/JBoss] - Re: get partition(cluster)
JerryGauth
do-not-reply at jboss.com
Tue Mar 13 16:07:57 EDT 2007
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#4027671
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027671
More information about the jboss-user
mailing list