4 Replies Latest reply on Apr 23, 2015 2:44 AM by valsaraj viswanathan

    Issue with invoking same instance SLSB when accessing from remote client

    valsaraj viswanathan Master

      Problem I noticed is when we call SLSB using remote EJB calls, instance is new for each call.



      public void callRemoteEJB() {

           TestRemote testRemote = getTestBean();     // Lookup remote EJB

           testRemote.setUsers();     // This will set a list of users on SLSB

           testRemote.processUsers();     // This will process users set by previous call



      This code was working at JBoss 4.2.2.GA but in WildFly-8,2, I am getting NPE as the users set by previous call gets NULL on the next call