Instead of
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
p.put(Context.PROVIDER_URL, "localhost:1100"); // HA-JNDI
// port
initial = new InitialContext(p);
i did this :
Hashtable env = new Hashtable();
env.put("jnp.partitionName", "IndicsPartition");
env.put("jnp.discoveryGroup", "230.0.0.5" );
initial = new InitialContext(p);
and i changed the ip in the indicspartition machine to 230.0.0.5
i got a communication exception on the client side ??
is this all or am i missing something ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087733#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...