Change "ARJUNA12140: Adding multiple last resources is disallowed" warning and
show underlying resource instead of LastResourceRecord
-------------------------------------------------------------------------------------------------------------------------------------
Key: JBTM-960
URL:
https://issues.jboss.org/browse/JBTM-960
Project: JBoss Transaction Manager
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Affects Versions: 4.15.3
Reporter: Scott Marlow
Assignee: Jonathan Halliday
As discussed on IRC, change the ARJUNA12140 warning from the current:
"
ARJUNA12140: Adding multiple last resources is disallowed. Current resource is
com.arjuna.ats.internal.arjuna.abstractrecords.LastResourceRecord@xxxxx
"
To:
"
Enlisting multiple non-XA resources into transaction is not allowed. Tried to enlist
resource %s when resource %s is already enlisted.
"
Instead of showing the LastResourceRecord, it would help reduce the time it takes to
locate the root cause, if we showed the underlying resources in the warning message.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira