[jboss-jira] [JBoss JIRA] Updated: (JBJCA-449) TransactionSynchronization initialization incomplete causing NullPointerException.

Jeremy Whiting (JIRA) jira-events at lists.jboss.org
Thu Oct 21 12:45:55 EDT 2010


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

Jeremy Whiting updated JBJCA-449:
---------------------------------

    Attachment: diff-transactionsynch.txt


svn diff with changes.

> TransactionSynchronization initialization incomplete causing NullPointerException.
> ----------------------------------------------------------------------------------
>
>                 Key: JBJCA-449
>                 URL: https://jira.jboss.org/browse/JBJCA-449
>             Project: IronJacamar
>          Issue Type: Task
>          Components: Standalone
>         Environment: All environments.
>            Reporter: Jeremy Whiting
>            Assignee: Jesper Pedersen
>         Attachments: diff-transactionsynch.txt
>
>
>  When an application uses a transaction with the UserTransaction to perform state changes the server throws a NullPointerException.
>  This occurs when UserTransaction.begin() is called.
>  The cause is the TransactionSynchronization object has not been associated with the TransactionManager before the call to begin().
>  Included with this issue is a patch for org.jboss.jca.core.connectionmanager.ConnectionManagerFactory.  The patch adds initialization code when the factory creates a transactional (versus a nonTransactional) ConnectionManager.

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

        


More information about the jboss-jira mailing list