Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1421 Implement JTS
  3. JBAS-2190

New ClientUserTransaction does not honour the jndi environment

XMLWordPrintable

      JBoss5 code:
      Context ctx = new InitialContext();
      txFactory = (TransactionFactory) ctx.lookup(
      DistributedTransactionManager.JNDI_NAME);

      JBoss4 code:
      Hashtable env = (Hashtable) NamingContextFactory.lastInitialContextEnv.get();
      InitialContext ctx = new InitialContext(env);
      factory = (UserTransactionSessionFactory) ctx.lookup("UserTransactionSessionFactory");

              sguilhen Stefan Guilhen
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: