Hi,

I have completed the test application and committed to:
https://github.com/iannuz/TestDistributedXA-Spring.git

It implements what is in the picture in my first message of this post in two
ways:
1- java stand-alone app with bitronix as JTA trans manager
2- webapp running in tomee

First one works as expected both in commit and rollback case.
Second one commits all three operations in case of success BUT it only rolls
back mysql operation in case of failure, while the two activemq ones are
committed anyway.

It could either be:
- wrong settings in my tomee.xml (especially queue connection factories) or
somewhere else
- a bug??

I already spent quite much time fighting with the thing and googling for
possible solutions.

It would be great to hear your opinion on this and, once again, advanced
apologies if it turns out to be a mistake on my side :(

Please see the
https://github.com/iannuz/TestDistributedXA-Spring/blob/master/TestDistributedXA-Spring/README.txt
for a detailed description of how to use the test app.

Note: I am aware of the pending bug on mysql+XA+pooling in tomee 1.7.x:
connections leak if MaxIdle is set. BUT I decided to ignore that for a while
and test my use case further.

Thanks!




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Tomee-MySql-ActiveMQ-XA-Distributed-Transactions-tp4676680p4676724.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to