[
https://issues.jboss.org/browse/JBTM-1171?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on JBTM-1171:
-----------------------------------------------
Ondrej Chaloupka <ochaloup(a)redhat.com> made a comment on [bug
959462|https://bugzilla.redhat.com/show_bug.cgi?id=959462]
Verified for EAP 6.1.1.ER3.
For info - there was needed to do small changes in reproducer and deferred constraints has
to be set on TEST table (thanks akovari for help).
E.g. add unique constraint on the TEST table. You can run test first time and it passes
and then alter table like this:
ALTER TABLE TEST ADD
CONSTRAINT key_is_unique UNIQUE (KEY)
DEFERRABLE INITIALLY DEFERRED;
The second run shows the exception.
The second change was to use jboss-as-arquillian-container-managed instead of
jboss-as-arquillian-container-remote.
improve XAResource preparefailed logging
----------------------------------------
Key: JBTM-1171
URL:
https://issues.jboss.org/browse/JBTM-1171
Project: JBoss Transaction Manager
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: JTA
Affects Versions: 4.6.1.CP12
Reporter: Jonathan Halliday
Assignee: Michael Musgrove
Fix For: 4.6.1.CP13, 4.17.5, 5.0.0.M4
com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed does not log the
underlying XA exception. In cases where e.g. db constraints are deferred to tx commit
time, such errors can contain useful information.
Note that non-deferred constraints are covered by JBTM-575 as the problem manifests at
the earlier beforeCompletion (i.e. sql flush) stage.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira