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.
[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
Steps to Reproduce
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 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.