Is there any way to load balance calls made by components deployed on the container.
I am noticing that remote calls made to SessionBeans through components deployed on a particular node always get serviced by the same node. The calls are never load balanced. I see load balancing when I use a client outside the container's VM.
Does JBoss perform any kind of optimization to force in-container calls to be local to the container? If so, is there any way to turn it off?
yes, it is by design and no, there is no way to disable it (or run two jboss instance on the same host and don't deploy your EJB on the instance that must take the LB decition)