-
1. Re: EJB 3.0 load balancing not working in a Jboss AS 5.1 clu
jaikiran Aug 19, 2009 1:23 AM (in response to kedarpjoshi)When you start the server nodes in a cluster, do you see any logs which show that those 2 nodes are being considered part of the cluster? Logs like, "2 members..." in the cluster? Can you post the relevant console logs (not server.log)
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. -
2. Re: EJB 3.0 load balancing not working in a Jboss AS 5.1 clu
jaikiran Aug 20, 2009 1:11 AM (in response to kedarpjoshi)Also are those stateful session beans or stateless session beans? And please post relevant configuration files (jboss.xml) and any relevant code.
-
3. Re: EJB 3.0 load balancing not working in a Jboss AS 5.1 clu
kedarpjoshi Aug 20, 2009 7:14 AM (in response to kedarpjoshi)Yes they do form a cluster. This is not something that i have missed but in general how jboss AS behaves. Please see following link -
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=128146
and
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=112500
I do not hot this user got it working finally? Jboss by default re-routes the call to a bean from the node within a cluster to the same node. This happens because of an interceptor. The option of disabling the interceptor dint work for me because it throws several exceptions. The only option i have is to write my own custom interceptor. But would it work? The guy who posted above links faced some exceptions. -
4. Re: EJB 3.0 load balancing not working in a Jboss AS 5.1 clu
jaikiran Aug 20, 2009 1:46 PM (in response to kedarpjoshi)Please provide more details which i asked for, in my previous reply:
"jaikiran" wrote:
Also are those stateful session beans or stateless session beans? And please post relevant configuration files (jboss.xml) and any relevant code.