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

Interoperability issues with ArjunaJTS CosTransactions idl

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.later
    • Component/s: JTS
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mmusgrov Michael Musgrove
                  Reporter:
                  mmusgrov Michael Musgrove
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: