Atomikos Forum

WMQ Extended Transactional Client

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 7.0.1.0.

best regards
Stefan
Stefan Mader Send private email
Thursday, August 26, 2010
 
 
Hi,

Is your test running on the same machine as the MQ broker? That could be an explanation; if I remember correctly you don't need the extended client in that case...

HTH
Guy Pardon Send private email
Friday, August 27, 2010
 
 
Hi Guy,

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?

best regards,
Stefan
Stefan Mader Send private email
Friday, August 27, 2010
 
 
AFAIK you need the extended client in your case, so I am a bit surprised by your findings?
Guy Pardon Send private email
Sunday, August 29, 2010
 
 
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?

best regards,
Stefan
Stefan Mader Send private email
Monday, August 30, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics