[jbossts-issues] [JBoss JIRA] (JBTM-2642) ArjunaJTS CosTransactions idl is not spec compliant
Michael Musgrove (JIRA)
issues at jboss.org
Mon Mar 21 06:28:00 EDT 2016
Michael Musgrove created JBTM-2642:
--------------------------------------
Summary: ArjunaJTS CosTransactions idl is not spec compliant
Key: JBTM-2642
URL: https://issues.jboss.org/browse/JBTM-2642
Project: JBoss Transaction Manager
Issue Type: Bug
Components: JTS
Reporter: Michael Musgrove
Assignee: Michael Musgrove
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:
{code}
enum Status {
StatusActive,
StatusMarkedRollback,
StatusPrepared,
StatusCommitted,
StatusRolledBack,
StatusUnknown,
StatusNoTransaction,
StatusPreparing,
StatusCommitting,
StatusRollingBack
};
{code}
whereas we are using
{code}
enum Status { StatusActive, StatusMarkedRollback, StatusPrepared,
StatusCommitted, StatusRolledBack, StatusUnknown,
StatusPreparing, StatusCommitting, StatusRollingBack,
StatusNoTransaction };
{code}
Notice that the enum position of StatusNoTransaction is different.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbossts-issues
mailing list