You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Lin Sun (JIRA)" <ji...@apache.org> on 2008/12/02 23:38:44 UTC

[jira] Created: (GERONIMO-4438) TransactionSynchronizationRegistry.getTransactionKey should return null when transaction is not associated with the current thread

TransactionSynchronizationRegistry.getTransactionKey should return null when transaction is not associated with the current thread
----------------------------------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-4438
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4438
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: transaction manager
            Reporter: Lin Sun
            Assignee: Lin Sun
            Priority: Minor


per JTA 1.1 spec, the TransactionSynchronizationRegistry.getTransactionKey method should return null, if a transaction is not associated with the current thread.   The Geronimo transaction impl (v2.1.1) throws an IllegalStateException which is incorrect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-4438) TransactionSynchronizationRegistry.getTransactionKey should return null when transaction is not associated with the current thread

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lin Sun resolved GERONIMO-4438.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

fixed in txmanager 2.2-snapshot and 2.1.1 branch (see subversion commit).   this behavior is documented in page 45 of the jta 1.1 spec.

> TransactionSynchronizationRegistry.getTransactionKey should return null when transaction is not associated with the current thread
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4438
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4438
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>            Reporter: Lin Sun
>            Assignee: Lin Sun
>            Priority: Minor
>             Fix For: 2.2
>
>
> per JTA 1.1 spec, the TransactionSynchronizationRegistry.getTransactionKey method should return null, if a transaction is not associated with the current thread.   The Geronimo transaction impl (v2.1.1) throws an IllegalStateException which is incorrect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4438) TransactionSynchronizationRegistry.getTransactionKey should return null when transaction is not associated with the current thread

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lin Sun updated GERONIMO-4438:
------------------------------

    Affects Version/s: 2.2
                       2.1.4
        Fix Version/s: 2.1.4

> TransactionSynchronizationRegistry.getTransactionKey should return null when transaction is not associated with the current thread
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4438
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4438
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.1.4, 2.2
>            Reporter: Lin Sun
>            Assignee: Lin Sun
>            Priority: Minor
>             Fix For: 2.1.4, 2.2
>
>
> per JTA 1.1 spec, the TransactionSynchronizationRegistry.getTransactionKey method should return null, if a transaction is not associated with the current thread.   The Geronimo transaction impl (v2.1.1) throws an IllegalStateException which is incorrect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.