Skip to content

hazelcast code sample for XA transactions no longer works with current Atomikos version (5.0.9) #553

Description

@kgignatyev

hazelcast-code-samples/transactions/xa-transactions/pom.xml

When the sample updated with version 5.0.9 of atomikos it no longer works with exception

    <atomikos-version>5.0.9</atomikos-version>

WARNING: There is no registered resource that can recover the given XAResource instance.
Please register a corresponding resource first.
Exception in thread "main" javax.transaction.SystemException: There is no registered resource that can recover the given XAResource instance.
Please register a corresponding resource first.
at com.atomikos.icatch.jta.TransactionImp.enlistResource(TransactionImp.java:277)
at XATransaction.main(XATransaction.java:42)
Nov 14, 2022 1:20:35 PM com.atomikos.logging.JULLogger logWarning
WARNING: Transaction 192.168.1.104.tm166846082560400001 has timed out and will rollback.

hazelcast version used 4.2.5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions