[jboss-user] [Clustering/JBoss] - Re: question on clustering

haribaasha do-not-reply at jboss.com
Mon Sep 24 02:52:43 EDT 2007


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#4087733

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



More information about the jboss-user mailing list