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

Interoperability issues with ArjunaJTS CosTransactions idl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 7.later
    • None
    • JTS
    • None

    Description

      The copy of CosTransactions.idl in our source tree does not match any of the OTS spec versions, in partciular the enum ordering of Status values is different so we get the wrong status when asking foreign application servers for the status of a transaction.

      I checked versions 1.0 and 1.1 (http://www.omg.org/spec/OTS/) and versions 1.3 and 1.4 (http://www.omg.org/spec/TRANS/), I could not locate version 1.2. The idl used by other application servers seems to match versions 1.3 and 1.4:

              enum Status {
                      StatusActive,
                      StatusMarkedRollback,
                      StatusPrepared,
                      StatusCommitted,
                      StatusRolledBack,
                      StatusUnknown,
                      StatusNoTransaction,
                      StatusPreparing,
                      StatusCommitting,
                      StatusRollingBack
              };
      

      whereas we are using

            enum Status { StatusActive, StatusMarkedRollback, StatusPrepared,
                      StatusCommitted, StatusRolledBack, StatusUnknown,
                      StatusPreparing, StatusCommitting, StatusRollingBack,
                      StatusNoTransaction };
      

      Notice that the enum position of StatusNoTransaction is different.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-engineering-mmusgrov Michael Musgrove
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: