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 ( When I run it it works fine. Now I'm trying to run one of the methods of this same bean remotelly ( 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://]"
      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?