Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Two Phase commit failing on two data sources with Pega 7.1.8



When doing a two-phase commit on two different data sources, the commit fails with the below error. Two-phase commits work properly when using only on data source.

Error Messages

Problem writing an instance to the database: code: 0 SQLState: Message: enlist: caught Exception

Steps to Reproduce

Do a two-phase commit on multiple data sources.

Root Cause

A defect or configuration issue in the operating environment .


Install XA versions of the JDBC drivers.


Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us