Chapter 23. 25000 ~ 25999

25001: XA protocol error.

CauseInvalid XA protocol.
ActionVerify the protocol is valid.

25002: XA transaction branch was not found.

CauseThe XA branch does not exist.
ActionVerify the XID is correct.

25003: Unable to associate the XA transaction branch: local transaction is ongoing.

CauseFailed to perform the XA command because an ongoing local transaction exists.
ActionCommit or roll back the local transaction first, and then perform the XA command.

25004: XA asynchronous feature is not supported by server.

CauseAn attempt was made to use an XA asynchronous command.
ActionXA asynchronous commands are not supported.

25005: Invalid arguments were specified.

CauseAn invalid flag was included in the XA command.
ActionCheck the flag again.

25006: XA transaction branch is in rollback-only status for an unspecified reason.

CauseThe XA branch is in rollback-only status.
ActionTry xa_rollback.

25007: XA transaction branch is read-only.

CauseThe XA branch is in read-only status because no active transaction exists.
ActionAutomatically terminate the branch.

25008: Duplicate XID exists.

CauseThere is another XA branch with the same XID.
ActionCheck the XID or try again with another XID.

25009: Resource manager has indicated a problem with an XA branch.

CauseCannot perform the task because the global TX and XA branch loose_coupling properties mismatch.
ActionVerify that the XA command is correct or roll back the branch and try again.

25010: Transaction branch has been heuristically committed.

CauseThe XA branch has already been committed.
ActionVerify that the XA command is valid, or remove the terminated XA branch with xa_forget.

25011: Transaction branch has been heuristically rolled back.

CauseThe XA branch has already been heuristically rolled back.
ActionVerify that the XA command is valid, or remove the terminated XA branch with xa_forget.

25012: Transaction branch has been heuristically committed or rolled back.

CauseThe XA branch was already committed or rolled back.
ActionVerify that the XA command is valid, or remove the terminated XA branch with xa_forget.

25013: XA branch has timed out (sesswt).

CauseThe transaction was rolled back because the requested command could not be completed before session waiting time expired.
ActionTry again.

25014: No prepared XA transaction found with transaction ID %1$s.

CauseCannot find a prepared XA transaction with the requested transaction ID.
ActionVerify the transaction ID is valid.

25015: Unable to create more XZ branches: maximum number of branches reached.

CauseCannot create any more XA branches - limit set in XA_MAX_BRANCH_CNT has been reached.
ActionTry later.