[jbossts-issues] [JBoss JIRA] (JBTM-2850) [GSS](7.1.0) XA resource with same RMid are not ended properly

Tom Jenkinson (JIRA) issues at jboss.org
Tue Feb 21 02:56:00 EST 2017


     [ https://issues.jboss.org/browse/JBTM-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson moved JBEAP-8981 to JBTM-2850:
--------------------------------------------

               Project: JBoss Transaction Manager  (was: JBoss Enterprise Application Platform)
                   Key: JBTM-2850  (was: JBEAP-8981)
            Issue Type: Task  (was: Bug)
              Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
           Component/s: JTA
                            (was: EJB)
                            (was: Transactions)
    Steps to Reproduce:   (was: Please find attached reproducer.zip


Steps to Reproduce: 

1) Deploy the 2 wars (project 1 and project 2) in the same Jboss server.

2) Run the GUI client (mvn exec:java in sources files folder)



Actual results: 

following logs shows that "end" method is only called on  XAResource 1.


09:18:34,564 INFO  { } [stdout] (EJB default - 1) start resource2 xid=< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffac129ea0:6ee503a4:5864c6a7:11, node_name=1, branch_uid=0:ffffac129ea0:6ee503a4:5864c6a7:17, subordinatenodename=null, eis_name=unknown eis name >

09:18:34,565 INFO  { } [stdout] (EJB default - 1) end resource1 xid=< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffac129ea0:6ee503a4:5864c6a7:11, node_name=1, branch_uid=0:ffffac129ea0:6ee503a4:5864c6a7:17, subordinatenodename=null, eis_name=unknown eis name >

09:18:34,565 INFO  { } [stdout] (EJB default - 1) prepare resource1 xid=< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffac129ea0:6ee503a4:5864c6a7:11, node_name=1, branch_uid=0:ffffac129ea0:6ee503a4:5864c6a7:17, subordinatenodename=null, eis_name=unknown eis name >

09:18:34,574 INFO  { } [stdout] (EJB default - 1) commit resource1 xid=< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffac129ea0:6ee503a4:5864c6a7:11, node_name=1, branch_uid=0:ffffac129ea0:6ee503a4:5864c6a7:17, subordinatenodename=null, eis_name=unknown eis name >)
     Affects Version/s:     (was: 7.0.z.GA)
         Fix Version/s: 5.next
                            (was: 7.1.0.GA)


> [GSS](7.1.0) XA resource with same RMid are not ended properly
> --------------------------------------------------------------
>
>                 Key: JBTM-2850
>                 URL: https://issues.jboss.org/browse/JBTM-2850
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>          Components: JTA
>            Reporter: Amit Nijhawan
>            Assignee: David Lloyd
>             Fix For: 5.next
>
>
> A scenario with a EJB XA transaction between two applications (war).  The process is the following:
> 1. a client GUI is calling a remote EJB on project 1 that initiate the XA transaction.
> 2. The project 1 call a remote EJB on project 2 that create a new branch in XA transaction
> 3. the project 2 enlist two XA resources that share the same RMid. 
> 4. EJB call on both project 2 and project 1 and 2PC is initiated by project 1 to commit the XA transaction.
> The expected behaviour is that "start" and "end" operations are called on both XA resource enlisted in project 2 as mentioned in JTA/XA specifications.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbossts-issues mailing list