On rereading the Atomikos WIKI pages on "Configuring MQSeries (aka Websphere MQ)" I just found out that I forgot to add the Extended Transactional Client (com.ibm.mqetclient.jar) to my classpath.
As I am using Tomcat instead of WebSphere Application Server, I would now expect that XA will not work without this Jar file.
However, in my tests everything worked fine!
Even if I added an exception in the Atomikos source code after phase 1 of the 2-phase-commit process, the rollback still worked well.
So I wonder which feature will not work when I do not have that Jar file? I'd prefer not to have to licence that file.
I am using the MQ Jar Files version 126.96.36.199.
no my program runs on my local Windows machine, while WebSphere MQ is running on an AIX machine.
I also tried to run the application on a 3rd (Linux) machine with no MQ installed, it seems to work fine there too (although I did no tests concerning errors during the 2 phase commit).
Is it possible that all will work fine until a very special case happens, where some specific recovery techniques will be needed?
So am I ;-)
I wonder whether the Extended Transactional Client is only necessary in special cases that I did not test.
In which cases would you expect that my setup would not work without the Extended Transactional Client?
Should any XA transaction fail, or should there just be problems when recovering an XA transaction?
This topic is archived. No further replies will be accepted.Other recent topics