Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-03-26


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

_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.