• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown

Clustering issue with HA-JNDI with JBOSS 5 EAP

Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am using JBOSS 5 EAP application server for our product.
We have created two separate nodes for testing node1 and node2.

I have done following for enabling clustering,
-> Gave partition name in startup file
-> Gave same multicast address.

My node1 is running on 1699 (JNDI) and 1700 (HA-JNDI)
and node2 is running on 1799 (JNDI) and 1800 (HA-JNDI)

I want to achieve below scenario,

If node1 gets fail, all request coming to 1700 port should be diverted in cluster's node2 (means 1800 port) and vice versa for node2.

I can achieve this using giving two jndi properties list in lookup code,
"p.put(Context.PROVIDER_URL, ",");"

Is this the proper way?

I want to give only "" and if node1 is disabled, then request should be forwarded to node2, as both nodes were in same cluster.

Please help me.

    Bookmark Topic Watch Topic
  • New Topic