Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1270

Setting transaction timeout on UserTransaction leaks to the thread and doesn't get cleared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 4.16.4
    • None
    • None

      A user has reported (with an example) that setting a transaction timeout on the UserTransaction will leak the timeout onto the thread and subsequent transaction creation on that thread uses the leaked value instead of new values. The com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction is using a ThreadLocal (_timeouts) for tracking timeouts but it is never cleared/reset.

      More details in the referenced forum thread.

            thjenkin@redhat.com Tom Jenkinson
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: