• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clustering issue with HA-JNDI with JBOSS 5 EAP

Rushabh Vashi
Posts: 20
  • Mark post as helpful
  • send pies
  • 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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic