com.atomikos.datasource.xa.session.InvalidSessionHandleStateException: Transaction is marked for rollback only or has timed out

Kuali JIRA | Venkat PremChandran | 4 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.

Root Cause Analysis

  1. com.atomikos.datasource.xa.session.InvalidSessionHandleStateException

    Transaction is marked for rollback only or has timed out

    at com.atomikos.datasource.xa.session.NotInBranchStateHandler.checkEnlistBeforeUse()
  2. Transactions JTA
    NotInBranchStateHandler.checkEnlistBeforeUse
    1. com.atomikos.datasource.xa.session.NotInBranchStateHandler.checkEnlistBeforeUse(NotInBranchStateHandler.java:34)
    1 frame