[jbossts-issues] [JBoss JIRA] (JBTM-1146) XTS Demo: ServiceStateManager fails to rollback during recovery as TXID is not known.

Amos Feng (JIRA) jira-events at lists.jboss.org
Tue May 15 03:26:18 EDT 2012

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

Amos Feng commented on JBTM-1146:

The basic idea of XTS demo is running a reservation of some restaurant/theatre/taxi seats using both AtomicTransaction and BusinessActivity
The test uses arquillian and drone extension. I don't find any byteman script to crash the jvm, so it looks like recovery should not be happening.

I noticed that the test is hanging after launching the firefox to get the http://localhost:8080/xts-demo in the fail buildings. there are maybe some timing issues when deploying xts-demo and xts-demo-webservices.
> XTS Demo: ServiceStateManager fails to rollback during recovery as TXID is not known.
> -------------------------------------------------------------------------------------
>                 Key: JBTM-1146
>                 URL: https://issues.jboss.org/browse/JBTM-1146
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: XTS
>    Affects Versions: 5.0.0.M1
>            Reporter: Paul Robinson
>            Assignee: Amos Feng
>             Fix For: 4.16.5, 5.0.0.Final
> See: 
> In particular, notice the NPE from:
> {code}
>     /**
>      * release a derived state previously stored using the transaction id as a lookup key
>      * @param txId the id of the transaction which created the derived state
>      */
>     protected void removeState(Object txId)
>     {
>         transactions.remove(txId);
>     }
> {code}
> I don't yet know:
> A) If recovery should even be happening in this part of the test.
> B) Assuming recovery should happen, I don't know if the outcome should be rollback; which is what it looks like is happening here.

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


More information about the jbossts-issues mailing list