Support Article

IllegalResourceIn2PCTransactionException using JMS with ADM



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 Illegal attempt to enlist multiple 1PC XAResources

Steps to Reproduce


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.


Use an XA driver or apply HFix-28496.

Published July 26, 2016 - Updated July 28, 2016

Have a question? Get answers now.

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