Without real XA support (XA emulation) when XA recovery is carried out, jTDS always
returns an empty array of XIDs. This leads to a lot of log entries
for exception XAER_NOTA. This patch avoids the log pollution during recovery.
Exceptions XAER_NOTA pollute the logs each time the recovery manager
tries to recover the transaction in which jtds participated.
Without real XA support (XA emulation) jTDS cannot really
participate in the transaction recovery, as it will always return
an empty array of XIDs. So the following exception will
always be thrown during recovery
The patch avoids that.
Kill the application server during the transaction in which jtds
participates. Then run transaction recovery.