-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hazelcast code sample for XA transactions no longer works with current Atomikos version (5.0.9) #553
Comments
Hi team, |
Try the 5.0 samples with hazelcast, from here: |
[main] INFO com.atomikos.icatch.provider.imp.AssemblerImp - Loaded jar:file:/C:/Repository/com/atomikos/transactions/5.0.9/transactions-5.0.9.jar!/transactions-defaults.properties Members {size:1, ver:1} [ Jan 02, 2024 11:39:35 AM com.hazelcast.core.LifecycleService javax.transaction.SystemException: There is no registered resource that can recover the given XAResource instance.
@GuyPardon We have tried to run with the same location(example-jta) that you have provided but still, we are getting the same issue and previously we have tried with 6.0.0 as well but we were getting this issue. |
Atomikos Version (Transaction Essentials) - 6.0.0 Tried these examples and facing same issue in elisting HazelCast XA Resource with Atomikos Transactions in springboot. |
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
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
The text was updated successfully, but these errors were encountered: