Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-449

TransactionSynchronization initialization incomplete causing NullPointerException.

    XMLWordPrintable

Details

    • Use the attatched file to apply the svn diff.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jpederse@redhat.com Jesper Pedersen
              jwhiting@redhat.com Jeremy Whiting
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: