Informix Error -24135: Cannot prepare XA transaction.
Cause and resolution
Cannot prepare XA transaction.
The database server cannot prepare a distributed transaction. The transaction has been aborted.
Report this error to your DBA or DBSA.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-24135 fires when the database server can't prepare a distributed (XA) transaction for two-phase commit — per the official guidance, the transaction is aborted as a result.
- The database server failing to prepare the distributed transaction, per the official guidance — no further named detail.
Solutions / Resolution
- Report this error to your DBA or DBSA, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a failed prepare phase.
Diagnostic Checks
- Escalate to the DBA/DBSA — this is reported as requiring administrator investigation.
Related Errors / Related Topics
- -24134 — "XA transaction aborted." The resulting condition once this prepare failure aborts the transaction.
The database server couldn't prepare an XA distributed transaction, which was then aborted — report this to your DBA/DBSA.