[infinispan-issues] [JBoss JIRA] (ISPN-3899) XAResourceRecovery implementation needed for transaction recovery in library mode

Mircea Markus (JIRA) issues at jboss.org
Mon Feb 24 11:55:48 EST 2014


    [ https://issues.jboss.org/browse/ISPN-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12947492#comment-12947492 ] 

Mircea Markus commented on ISPN-3899:
-------------------------------------

[~jmarkos] I think the XAResource that you need to register with TM's XAResourceRecoveryRegistry is the one that can be obtained through: cache.getAdvancedCache().getXAResource(). Paul, any idea why that wouldn't work?
                
> XAResourceRecovery implementation needed for transaction recovery in library mode
> ---------------------------------------------------------------------------------
>
>                 Key: ISPN-3899
>                 URL: https://issues.jboss.org/browse/ISPN-3899
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Transactions
>            Reporter: Galder Zamarreño
>            Assignee: Ion Savin
>             Fix For: 7.0.0.Final
>
>
> According to [~pferraro], an implementation of XAResourceRecovery needs to be added to Infinispan and plugged into XAResourceRecoveryRegistry in order to get recovery of XA transactions working as expected.
> This is already done in Server/AS/Wildfly in org.jboss.as.clustering.infinispan.subsystem.CacheService class.
> A similar thing should happen when Infinispan is used in embedded/library mode.
> [~isavin], since you are going to work on the transaction changes in 7.0, maybe you can take this on too? It'd be interesting to add a test to start with which shows that XA transaction recovery is not working as expected as a result of not having this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list