[
https://issues.jboss.org/browse/JBTM-1444?page=com.atlassian.jira.plugin....
]
Gytis Trikleris commented on JBTM-1444:
---------------------------------------
That's what happens when exceptions are thrown from WS-AT participant:
*WrongStateException in WS-AT commit*
{quote}
Only trace logging is printed after exception is thrown: "Unexpected exception from
participant commit". Coordinator tries to commit and prints warning once it is timed
out. This causes heuristic hazard.
{quote}
*SystemException in WS-AT commit*
{quote}
Only trace logging is printed after exception is thrown: "Unexpected exception from
participant commit". Coordinator tries to commit and prints warning once it is timed
out. This causes heuristic hazard.
{quote}
*RuntimeException in WS-AT commit*
{quote}
Only trace logging is printed after exception is thrown: "Unexpected exception from
participant commit". Coordinator tries to commit and prints warning once it is timed
out. This causes heuristic hazard.
{quote}
*WrongStateException in WS-AT rollback*
{quote}
Only trace logging is printed after exception is thrown: "Unexpected exception from
participant rollback". Transaction is rolledback successfully
{quote}
*SystemException in WS-AT rollback*
{quote}
No logging about the exception. Coordinator tries to rollback but times out. This causes
heuristic hazard.
{quote}
*RuntimeException in WS-AT rollback*
{quote}
Undertow froze while shutting down. Only trace logging is printed after exception is
thrown: "Unexpected exception from participant rollback". Transaction is
rolledback successfully
{quote}
Review the logging in XTS when participants throw Exceptions in phase
2 methods
-------------------------------------------------------------------------------
Key: JBTM-1444
URL:
https://issues.jboss.org/browse/JBTM-1444
Project: JBoss Transaction Manager
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: XTS
Reporter: Paul Robinson
Assignee: Gytis Trikleris
Labels: assign
Fix For: 5.0.0.M5
Original Estimate: 1 day
Remaining Estimate: 1 day
To experiment:
1. Take the JDF WS-AT and WS-BA quickstarts.
2. Update the server logging to TRACE for the 'arjuna' catagory.
3. Observe what happens when the declared exceptions (and RuntimeException) are thrown
from each of the phase two methods on the participants (close, compensate, commit,
rollback).
3.1 We are interested in what logging is produced (and at what log level) and what
behaviour it has on the application (does it hang, is an exception returned to the client,
or something else).
--
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