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

Jakub Markos (JIRA) issues at jboss.org
Mon Feb 24 09:29:47 EST 2014


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

Jakub Markos commented on ISPN-3899:
------------------------------------

[~mircea.markus] from what I understood with my chat with [~pferraro], it's needed because that's how Jboss TM operates:
<pferraro>     effectively, you need to register Infinispan's XAResource with the JBoss TM's XAResourceRecoveryRegistry
This registration for example happens automatically for XA datasources on server startup.
                
> 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