I have a stateless session bean called CentralService which is running in my local JBoss Server (10.0.1.83). When I run it it works fine. Now I'm trying to run one of the methods of this same bean remotelly (10.0.1.90). So I created a new context and did the lookup for the bean.
The bean instance I´ve got has the following properties:
- uri="InvokerLocator [socket://10.0.1.90:3873/]"
So it looks like I have the right reference to my bean. But when I try to call a method, the method executes in my local JBoss.
If my bean is stateful instead of stateless, it works.
Am I doing something wrong?
I think there was a bug in the JIRA which could relate to your problem. It was about a change because of a 'optimized' lookup. HTH