[jbossts-issues] [JBoss JIRA] Updated: (JBTM-664) The JTA transaction synchronization don't respect the JTA 1.1 specification
Mark Little (JIRA)
jira-events at lists.jboss.org
Mon Dec 14 15:14:30 EST 2009
[ https://jira.jboss.org/jira/browse/JBTM-664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Little updated JBTM-664:
-----------------------------
Fix Version/s: 4.10.0
> 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: Mark Little
> 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