5 Replies Latest reply: Apr 28, 2014 3:33 AM by Ander Ruiz RSS

    WS-AT Single UserTransaction object

    Ander Ruiz Newbie

      I'm implementing an application based on webservices described here


      XTS + JTA + MyBatis-Spring


      I managed to create UserTransactions and to solve the problem with WS calls that don't have a transaction associated with it, but while solving some strange WrongStateException I was getting I discovered that everytime I call


      UserTransaction t = UserTransactionFactory.userTransaction();


      The transaction object that I get is the same instance (hashCode is the same) between different calls for different real transactions (their uuid is different).


      My question is, is XTS module prepared for parallel transaction handling? probably yes, so is this possible even though we have a single instance for UserTransaction or is there any configuration change that I need?