HI ALL! I got a problem on setting FirstAvailable SLSB Load Balancing.
i used three server, two server deploy slsb jar, another deploy slsb client ear(servlet).
i add the following code to jboss.xml:
true
<cluster-config>
<home-load-balance-policy>
org.jboss.ha.framework.interfaces.FirstAvailable
</home-load-balance-policy>
<bean-load-balance-policy>
org.jboss.ha.framework.interfaces.FirstAvailable
</bean-load-balance-policy>
</cluster-config>
Final, client can remote invoke the other servers. but it is not FirstAvailable. the client will invoke the other servers active-active.
As i would like to set the two server at active-passive. client invoke the same server until it having error.
Can anyone knows the problems of my setting??THX!