4 Replies Latest reply on Dec 21, 2004 3:52 AM by Bernd Zeitler

    Accessing an ejb with multiple client threads

    Alessandro Yoshi Polliotti Newbie

      When I try I get something like this:

      javax.ejb.EJBException: Application Error: tried to enter Stateful bean with different tx context

      Basically I'm invoking method A while method B is still running, invoked by another thread. Both A and B belong to my facade stateful session bean.

      I did some search work but could not find a solution to this problem, is there a way to propagate my context so that the bean will like my calls?

      The alternative approach is to split the facade but I'd rather not do it if at all possible.
      Any help is really appreciated :)