-
1. Re: Can't get JBoss to use custom loadbalancer
kedarpjoshi Aug 18, 2009 3:02 AM (in response to heineson)Hi,
did u get solution to this? Even i am facing the same problem. I have clustered stateless beans [EJB 3.0] in my application. In my clustered deployment, all calls to the beans originated within the server VM are handled by the beans from the same server node only although there are beans avaialable freely in other node and the load balance policy is round robin. Please let me know how u resolved ur problem.
thanks,
Kedar -
2. Re: Can't get JBoss to use custom loadbalancer
f_marchioni Aug 19, 2009 4:34 AM (in response to heineson)With JBoss 5 the load balance policy class are into:
jboss-5.0.0.GA\common\lib\jbossha.jar
jboss-5.0.0.GA\client\jboss-ha-legacy-client.jar
With JBoss 4:
jboss-4.2.2.GA\client\jbossha-client.jar:
jboss-4.2.2.GA\server\all\lib\jbossha.jar:
try adding your custom load balancing policy in both client and server .jars.
Let me know if it worked.
bye
francesco -
3. Re: Can't get JBoss to use custom loadbalancer
heineson Aug 19, 2009 6:11 AM (in response to heineson)"kedarpjoshi" wrote:
Hi,
did u get solution to this? Even i am facing the same problem. I have clustered stateless beans [EJB 3.0] in my application. In my clustered deployment, all calls to the beans originated within the server VM are handled by the beans from the same server node only although there are beans avaialable freely in other node and the load balance policy is round robin. Please let me know how u resolved ur problem.
thanks,
Kedar
My problem was (as usual) a simple silly error from my side. Just forgot to put the classes in the client jars, only in the server application...
/Jonas