geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Vaughton (JIRA)" <>
Subject [jira] Closed: (GERONIMO-3477) Transaction recovery broken for resource adapter
Date Mon, 24 Sep 2007 10:55:50 GMT


Matthew Vaughton closed GERONIMO-3477.

Separate JAR file sent to me works on top of 2.0.1 ok. The snapshot driver JNDI lookups from
a J2SE client aren't working so I couldn't test the snapshot driver

> Transaction recovery broken for resource adapter
> ------------------------------------------------
>                 Key: GERONIMO-3477
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.0.1
>         Environment: GA version of Geronimo 2.0.1 running under Windows XP on Intel machine
>            Reporter: Matthew Vaughton
>            Assignee: Kevan Miller
>             Fix For: 2.0.2, 2.1
> An external JMS Resource adapter is installed into Geronimo. 
> XA connections configured on the JMS resource adapter are used by a container managed
session EJB to connect and put a message onto two different remote resource manager queues.
Both resource managers XA resources receive a preprere call and respond rc=0, ie ok.
> The first resource manager is called to commit and it does so ok.
> The second resource manager is called to commit at which point we kill the Geronimo server
process before the commit is processed.
> After restarting the Geronimo server process recover is called on all XA connections,
 the second resource manager responds to the recover call with the indoubt transaction Xid
but instead of the required commit call we receive a rollback call - since the first resource
manager has committed the second resource manager must also be called to commit.
> This problem was introduced into the Geronimo code base between M6-rc1 and 2.0.1 as the
transaction recovery scenario described worked fine in M6-rc1

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message