1 Reply Latest reply on Apr 3, 2007 6:36 PM by Axel Gross

    Invoking remote bean

    Rafael Rech Newbie

      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