0 Replies Latest reply on Nov 13, 2003 4:35 AM by paka

    UserTransactionSessionFactory is not bound in this Context

    paka Newbie

      Hi,

      I've got a problem obtaining a UserTransaction from a client. What I did is

      InitialContext ic = new InitialContext();
      UserTransaction ut = (UserTransaction)ic.lookup("UserTransaction");


      Everything went fine till here, but when I try to start a new UserTransaction with

      ut.begin();

      I get a SystemException saying:
      java.lang.RuntimeException: UT factory lookup failed: javax.naming.NameNotFoundException: Name UserTransactionSessionFactory is not bound in this Context

      I checked the JNDIView in the jmx-console and found the UserTransactionSessionFactory within the global Namespace.

      So how to deal with this problem?
      TIA
      paka