• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting error in jnp:discoveryGroup Lookup

 
Rushabh Vashi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I have enabled multicast address in JBOSS 5 EAP cluster. I am trying to lookup using autodiscovery. I am getting connectionTimeout.

PFB is my client code.

Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
p.put(Context.URL_PKG_PREFIXES,"org.jboss.namingrg.jnp.interfaces");
p.put("jnp.disableDiscovery", "false");
p.put("jnp.partitionName", "RushabhPartition");
p.put("jnp.discoveryGroup", "239.255.88.71");
p.put("jnp.discoveryPort", "1102");
InitialContext ctx = new InitialContext(p);

In my server too, autodiscovery is enabled.

Please help me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic