Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-14239

Timeout problem with Spring and Atomikos

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.2.5
    • Fix Version/s: 4.3 RC2
    • Component/s: Transaction
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      When using Spring and Atomikos, the timeout of a transaction is propagated to the next transaction in the same thread.
      The problem occurs when the first transaction sets a timeout but the second one does not, leaving it as TransactionDefinition.TIMEOUT_DEFAULT.
      If the timeout of the second transaction is set to zero the problem goes away.
      Not sure if this is a Spring or a Atomikos bug.
      Attached project shows the problem.

        Attachments

          Activity

            People

            Assignee:
            juergen.hoeller Juergen Hoeller
            Reporter:
            willianconsta Willian Constâncio da Silva
            Last updater:
            Spring Issuemaster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 40 weeks, 6 days ago