hazelcast / hazelcast/hazelcast-code-samples

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

Open
#553 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
558
Forks
600
PR merge metrics
No merged PRs in 30d

Description

[hazelcast-code-samples](https://github.com/hazelcast/hazelcast-code-samples)/[transactions](https://github.com/hazelcast/hazelcast-code-samples/tree/master/transactions)/[xa-transactions](https://github.com/hazelcast/hazelcast-code-samples/tree/master/transactions/xa-transactions)/pom.xml

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

5.0.9

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.