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

REST-AT annotation demo ends in the wrong state

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.11.2.Final
    • Fix Version/s: None
    • Component/s: REST
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Follow the instructions in the SRA demo README

      Show
      Follow the instructions in the SRA demo README

      Description

      The SRA demo invokes the following endpoint:

      curl -XPOST http://localhost:8081/trip/book?hotelName=Rex

      and this should result the creation of a REST-AT transaction followed by a commit, see the book trip method.

      However the output produced by the service (target/sra-participant-runner.jar) prints:

      SRA: 0_ffffc0a8000e_7f15c5a4_60b8e98f_18: Updating hotel participant state to: TransactionPreparedSRA: 0_ffffc0a8000e_7f15c5a4_60b8e98f_18: Updating hotel participant state to: TransactionRolledBackSRA: 0_ffffc0a8000e_7f15c5a4_60b8e98f_18: Updating trip participant state to: TransactionRolledBack

      which seems to indicate that the transaction was rolled back.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              s.patra Sweta Patra
              Reporter:
              mmusgrov Michael Musgrove
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: