[JBoss JIRA] (JBTM-2642) Interoperability issues with ArjunaJTS CosTransactions idl
by Mark Little (JIRA)
[ https://issues.jboss.org/browse/JBTM-2642?page=com.atlassian.jira.plugin.... ]
Mark Little commented on JBTM-2642:
-----------------------------------
Our version was based on the initial draft of 1.2 and then the final version. However, we had some ifdefs in the original file (a template file) so we could support different versions due to compliance issues with ORBs. It's possible the ifdef locations produced a different ordering or that there were changes in the standards we didn't track.
> Interoperability issues with ArjunaJTS CosTransactions idl
> ----------------------------------------------------------
>
> 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
> Fix For: 6.later
>
>
> 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)
8 years, 8 months
[JBoss JIRA] (JBTM-2642) Interoperability issues with ArjunaJTS CosTransactions idl
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2642?page=com.atlassian.jira.plugin.... ]
Michael Musgrove updated JBTM-2642:
-----------------------------------
Forum Reference: https://developer.jboss.org/message/953835
> Interoperability issues with ArjunaJTS CosTransactions idl
> ----------------------------------------------------------
>
> 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
> Fix For: 6.later
>
>
> 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)
8 years, 8 months
[JBoss JIRA] (JBTM-1804) JTS remote tests not run and no code coverage
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1804?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris updated JBTM-1804:
----------------------------------
Fix Version/s: 5.next
(was: 5.3.2.Final)
> JTS remote tests not run and no code coverage
> ---------------------------------------------
>
> Key: JBTM-1804
> URL: https://issues.jboss.org/browse/JBTM-1804
> Project: JBoss Transaction Manager
> Issue Type: Sub-task
> Components: JTS, Testing
> Affects Versions: 5.0.0.M3
> Reporter: Mark Little
> Assignee: Amos Feng
> Priority: Minor
> Fix For: 5.next
>
>
> The tests in .remote. package for JTS are not run by default. We should consider adding a build option so that they are run (will require some mods to the tests since many of them are client/server based - see associated Readme.txt files); don't run them by default since they will add delay to a normal build.
> It would then be beneficial to have them instrumented by emma to get code coverage.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months