aspose file tools*
The moose likes JBoss/WildFly and the fly likes Getting error in jnp:discoveryGroup Lookup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Getting error in jnp:discoveryGroup Lookup" Watch "Getting error in jnp:discoveryGroup Lookup" New topic
Author

Getting error in jnp:discoveryGroup Lookup

Rushabh Vashi
Greenhorn

Joined: Apr 27, 2011
Posts: 20
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting error in jnp:discoveryGroup Lookup