[jbossts-issues] [JBoss JIRA] (JBTM-849) registerSynchronization fails with wrong status message

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Wed May 2 10:29:19 EDT 2012

     [ https://issues.jboss.org/browse/JBTM-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson resolved JBTM-849.

    Fix Version/s:     (was: 5.0.1.Final)
       Resolution: Rejected

I think the wording should stay the same to maintain consistency with previous builds of JBoss Transactions. Note that "Transaction status isActionStatus.RUNNING" applies to internal transaction manager state rather than JTA state, and is valid debug information.

If we didn't have other versions in the wild I would be tempted to just drop that ActionStatus part of the message (or log it and remove it from the exception text) to save confusion but as we do I think having consistency helps our support team.

Thanks for the report, feel free to re-open if you are sure this is going to be an issue.
> registerSynchronization fails with wrong status message
> -------------------------------------------------------
>                 Key: JBTM-849
>                 URL: https://issues.jboss.org/browse/JBTM-849
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA
>    Affects Versions: 4.15.1
>         Environment: https://github.com/jbossejb3/jboss-as/tree/991e836c1bcb6b471010c5930fc3f58e72ed7972
>            Reporter: Carlo de Wolf
>            Assignee: Tom Jenkinson
>         Attachments: JBTM-849-stracktrace.txt
> registerSynchronization is called from within a beforeCompletion of another Synchronization. I would expect the status to be PREPARING (or anything but RUNNING).
> {noformat}
> java.lang.IllegalStateException: Synchronizations are not allowed! Transaction status isActionStatus.RUNNING
> 	at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.registerSynchronizationImple(TransactionImple.java:367)
> 	at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.registerSynchronization(TransactionImple.java:344)
> 	at org.jboss.jca.core.connectionmanager.transaction.TransactionSynchronizer.getRegisteredSynchronizer(TransactionSynchronizer.java:198)
> 	at org.jboss.jca.core.connectionmanager.listener.TxConnectionListener.enlist(TxConnectionListener.java:210)
> 	at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.managedConnectionReconnected(TxConnectionManagerImpl.java:407)
> 	... 104 more
> {noformat}

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