commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DBCP-341) LocalXAConnectionFactory does not properly check if Xid is equal to currentXid when resuming
Date Sun, 02 Feb 2014 20:46:11 GMT

     [ https://issues.apache.org/jira/browse/DBCP-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Thomas resolved DBCP-341.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.4.1)
                       (was: 1.3.1)
                   2.0
                   1.5.1

Thanks for the report and the fix. Sorry it has taken so long to address this.

I've fixed trunk for the 2.x series the 1.5.x branch. It will be included in the next release
of each.

If there are further 1.3.x and 1.4.x releases (currently being discussed on the dev mailing
list) my expectation is that they will be generated from the 1.5.x branch so will pick up
this fix too.

> LocalXAConnectionFactory does not properly check if Xid is equal to currentXid when resuming
> --------------------------------------------------------------------------------------------
>
>                 Key: DBCP-341
>                 URL: https://issues.apache.org/jira/browse/DBCP-341
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Ioannis Canellos
>             Fix For: 1.5.1, 2.0
>
>         Attachments: DBPC-341-patch.txt
>
>
> The current implementation checks if Xid is not equal to currentXid using the != . That
doesn't work in all cases resulting in XAException.
> I think that this check should be left to the Xid implementation.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message