12 Replies Latest reply on Aug 18, 2015 5:01 AM by Tom Jenkinson

    NoClassDefFoundError: com/arjuna/ats/jta/TransactionManager

    Steven Dodd Newbie

      I'm trying to retrieve the remaining transaction time from com.arjuna.ats.jta.transaction.Transaction.getRemainingTimeoutMills(), but when I attempt to access the TransactionManager I get a NoClassDefFoundError.

      In my ejb project's pom.xml I have:




      In the ejb project's jboss-deployment-structure.xml I have:


                  <module name="org.jboss.jts" />


      The ejb project is deployed in an ear, which doesn't have a jboss-deployment-structure.xml of its own.


      Is it possible to access the TransactionManager from user code under Wildfly, or is that just not allowed? If it's allowed, what am I doing wrong? If there's an alternate approach to getting the remaining transaction time, that would be useful to know too.