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

IllegalResourceIn2PCTransactionException using JMS with ADM

SA-26053

Summary



Adaptive Decision Manager (ADM) is configured with JMS running on WebSphere. When trying to complete tasks within Pega, which involve updating a database table content, saving changes fails sporadically.

Error Messages



[Date, time, and timezone] 00000044 RegisteredRes E WTRN0062E: An illegal attempt to use multiple resources that have only one-phase
capability has occurred within a global transaction.
[Date, time, and timezone] 00000044 LocalTransact E J2CA0030E: Method enlist caught
com.ibm.ws.Transaction.IllegalResourceIn2PCTransactionException: Illegal attempt to enlist multiple 1PC XAResources
at com.ibm.ws.tx.jta.RegisteredResources.enlistResource(RegisteredResources.java:870)
at com.ibm.ws.tx.jta.TransactionImpl.enlistResource(TransactionImpl.java:1804)
.
.
.

Steps to Reproduce



Unknown

Root Cause



A defect or configuration issue in the operating environment:
WebSphere groups Java database connectivity (JDBC) of jdbc/PegaRULES with the container-managed persistence (CMP) activity of JMS into a global transaction. With multiple resources in the same transaction, an XA driver is needed or configure ADM to use HTTP instead of JMS.

Resolution



Use an XA driver or apply HFix-28496.

Published July 28, 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