As the proxy detects that the servlet engine is in the same JVM as the target EJB, it makes an optimized local call instead of a remote call, that is a feature, not a problem.
Sacha, (you just emailed me about this topic, thanks)
what if I want to distribute the load of a long process between all machines in my cluster, including the one that´s starting the process?
Should I have two instances of JBoss in one machine just to do that?
slaboure, do you think it is possible to disable this "feature" ? For all classes, or maybe only for only one ?
Because at this time, I need to have on other tomcat running in another JVM on the same computer, only for bypass this "feature" :(