Thanks. I have now implemented both recovery patterns, with a runtime parameter directing the use of the multi-pass pattern for a XAResource implementation. This allows us to keep this recovery code ...
Further to my commens, I have actually found some info on the use of these flags in the JTA spec, though it is a bit vague. Any additional info welcome.
Supplying this flag does prevent the error. You mentioned the need to loop around the recover call. Does this mean that some providers will not pass back the Xids of all in-doubt tr ...