[jbossts-issues] [JBoss JIRA] (JBTM-1444) Review the logging in XTS when participants throw Exceptions in phase 2 methods

Gytis Trikleris (JIRA) jira-events at lists.jboss.org
Mon Sep 30 13:29:02 EDT 2013


    [ https://issues.jboss.org/browse/JBTM-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12808338#comment-12808338 ] 

Gytis Trikleris commented on JBTM-1444:
---------------------------------------

*WS-BA with coordinator and participant completion*

*WrongStateException in WS-BA close*
{quote}
Only trace loggin is printed after exception is thrown: "Unexpected exception from participant close for WS-BA participant com.arjuna.wst.WrongStateException: Kuku".
Coordinator retries multiple times but then times out (no logging about timing out). 
Test passes.
{quote}
*SystemException in WS-BA close*
{quote}
Only trace loggin is printed after exception is thrown: "Unexpected exception from participant close for WS-BA participant com.arjuna.wst.SystemException: Kuku".
Coordinator retries multiple times but then times out (no logging about timing out). 
Test passes.
{quote}
*RuntimeException in WS-BA close*
{quote}
Only trace loggin is printed after exception is thrown: "Unexpected exception from participant close for WS-BA participant java.lang.RuntimeException: Kuku".
Coordinator retries multiple times but then times out (no logging about timing out). 
Test passes.
{quote}
*WrongStateException in WS-BA cancel*
{quote}
Only trace loggin is printed after exception is thrown: "Unexpected exception from participant cancel for WS-BA participant [Ljava.lang.Object;@66b7616d".
Test failed.
{quote}
*SystemException in WS-BA cancel*
{quote}
Only trace loggin is printed after exception is thrown: "Unexpected exception from participant cancel for WS-BA participant [Ljava.lang.Object;@600b0c51".
Test failed.
{quote}
*RuntimeException in WS-BA cancel*
{quote}
Only trace loggin is printed after exception is thrown: "Unexpected exception from participant cancel for WS-BA participant [Ljava.lang.Object;@702bf9f3".
Test failed.
{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


More information about the jbossts-issues mailing list