Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting error in jnp:discoveryGroup Lookup

Rushabh Vashi
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("jnp.disableDiscovery", "false");
p.put("jnp.partitionName", "RushabhPartition");
p.put("jnp.discoveryGroup", "");
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