net.sf.ehcache.transaction.TransactionException: JTA transaction not started

Terracotta | luddy | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Help with Configuring Write-Through Cachewriter with JTA / Bitronix

    Terracotta | 5 years ago | luddy
    net.sf.ehcache.transaction.TransactionException: JTA transaction not started

    Root Cause Analysis

    1. net.sf.ehcache.transaction.TransactionException

      JTA transaction not started

      at net.sf.ehcache.transaction.xa.XATransactionStore.getCurrentTransaction()
    2. Ehcache
      Cache.putWithWriter
      1. net.sf.ehcache.transaction.xa.XATransactionStore.getCurrentTransaction(XATransactionStore.java:99)
      2. net.sf.ehcache.transaction.xa.XATransactionStore.getOrCreateXAResource(XATransactionStore.java:110)
      3. net.sf.ehcache.transaction.xa.XATransactionStore.getOrCreateTransactionContext(XATransactionStore.java:151)
      4. net.sf.ehcache.transaction.xa.XATransactionStore.putWithWriter(XATransactionStore.java:424)
      5. net.sf.ehcache.Cache.putInternal(Cache.java:1484)
      6. net.sf.ehcache.Cache.putWithWriter(Cache.java:1442)
      6 frames
    3. com.anz.mosa
      Test.main
      1. com.anz.mosa.tradematcher.cache.Test.testTransaction(Test.java:78)
      2. com.anz.mosa.tradematcher.cache.Test.main(Test.java:64)
      2 frames