[jbossts-issues] [JBoss JIRA] Reopened: (JBTM-664) The JTA transaction synchronization don't respect the JTA 1.1 specification

Jonathan Halliday (JIRA) jira-events at lists.jboss.org
Tue Jan 5 05:50:30 EST 2010

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

Jonathan Halliday reopened JBTM-664:

      Assignee: Jonathan Halliday  (was: Mark Little)

reopening for backport

> The JTA transaction synchronization don't respect the JTA 1.1 specification
> ---------------------------------------------------------------------------
>                 Key: JBTM-664
>                 URL: https://jira.jboss.org/jira/browse/JBTM-664
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA
>    Affects Versions: 4.5.0,  4.6.1.CP04
>         Environment: jboss AS 5.0.1 GA
>            Reporter: Olivier BILLIARD
>            Assignee: Jonathan Halliday
>            Priority: Critical
>             Fix For: 4.10.0
>         Attachments: TransactionSynchronizationRegistryImple.java
> According to the JTA 1.1 specification, the registerInterposedSynchronization must throw an IllegalStateException if the no transaction is active ( http://java.sun.com/javaee/5/docs/api/javax/transaction/TransactionSynchronizationRegistry.html#registerInterposedSynchronization(javax.transaction.Synchronization) ). The current code throw a RuntimeException. It's a problem because some third party framework, like Spring, only catch RollbackException, SystemException and IllegalStateException.
> It'll be great to modify the registerInterposedSynchronization method for throwing the expected exception.
> I attach the corrected source file.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list