This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Clustering issue with HA-JNDI with JBOSS 5 EAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Clustering issue with HA-JNDI with JBOSS 5 EAP" Watch "Clustering issue with HA-JNDI with JBOSS 5 EAP" New topic
Author

Clustering issue with HA-JNDI with JBOSS 5 EAP

Rushabh Vashi
Greenhorn

Joined: Apr 27, 2011
Posts: 20
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,
i.e
"p.put(Context.PROVIDER_URL, "192.168.6.102:1700,192.168.6.102:1800");"

Is this the proper way?

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

Please help me.

Thanks,
Rushabh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clustering issue with HA-JNDI with JBOSS 5 EAP
 
Similar Threads
JBOSS 4.3.0 EAP Clustering with Apache HTTP Server 2.2.11
HA-JNDI cluster issue
Jboss clustering
Some errors are throwing on JBOSS cluster.
JBoss4 HA Datasource