[jboss-user] [EJB/JBoss] - Invoking remote bean

rafael_rech do-not-reply at jboss.com
Mon Mar 26 14:10:17 EDT 2007


Hi all,
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:
- StatelessRemoteProxy; 
- containerId="jboss.j2ee:jar=30-CTVServer.jar,name=CentralServiceBean,service=EJB3";
- 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?

Thanks,
Rafael



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031732#4031732

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031732




More information about the jboss-user mailing list