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

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.Final
    • 5.11.2.Final
    • REST
    • None

    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

              mshikalw Moulali Shikalwadi
              rhn-engineering-mmusgrov Michael Musgrove
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: