This content has been marked as final.
Show 1 reply
-
1. Re: Clustering in a distributed system
justkeys Sep 3, 2008 11:40 AM (in response to andrew.henderson)When a client uses jndi to reach a clustered jboss service or ejb, the Context.PROVIDER_URL property of the jndi context refers to a comma-separated list of hosts in the cluster. So if you want clients on some site to see only host A, then you can pass only node A in there.
Or if host B should still be used for these clients when node A is down, then set the property to A:1100,B:1100. And change the order for clients on the other site.