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
XA Transactions are running on multiple threads #3385
Comments
any idea? |
Has there been any progress regarding this issue? |
@mesutcelik, @gurbuzali; we need to have integration tests running on real xa transaction managers... |
Are there any updates on this subject? We'd really like to use the RA to handle our XA transactions, |
Seeing the same problem with Arjuna. Note the thread name here is "Transaction Reaper":
What's worse, once this happens, the original thread is rendered incapable of ever opening another Hazelcast transaction because a
So Hazelcast XA support is not really usable ... unless your code never, ever rolls back a transaction :) |
Does anyone know why Hazelcast checks the thread? Perhaps one of the Hazelcast devs can shine some light on the matter? I would think multiple thread access would be common place in a JTA environment. |
I would guess they are trying to detect and prevent nested (i.e., reentrant) transactions. |
please take a look at #451. hope hz team could solve transaction completely not long in the future. |
It would be really great if this gets fixed, enterprises use multithreaded XA Transactions a lot! |
Any updates? We are really interested in using HZ within our JBoss EAP transactions but this is a no-no if it is not fixed. |
@gurbuzali This one is gonna be fixed in 3.5. Is it correct? |
should be fixed in EA |
This is fixed in the current master and it'll be included in Hazelcast 3.5. |
We are trying to use the Hazelcast Resource Adapter with a Oracle Weblogic container. When a XA transaction started it gave an unexpected Exception.
After some research, it turns out that the transactions are running on multiple threads. However, Hazelcast explicitly checks for multiple threads and throws an Exception when this is the case. This causes a rollback to occur. What is the reasoning for not allowing multithreaded transactions?
com.hazelcast.transaction.impl.TransactionImpl.java:177
Additional Thead info
The text was updated successfully, but these errors were encountered: