Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1924

XaDataSourceService does not set UserTransactionJndiName during deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Beta1
    • 7.0.2.Final
    • JCA
    • None

      The XaDataSourceService doesn't set the UserTransactionJndiName, so it defaults to java:/UserTransaction, which seems invalid within the context of AS7.

      In-line commit comment here:

      https://github.com/jbossas/jboss-as/commit/7fd76db27e89e40e9a16243fc058467d0acc67ae#commitcomment-607839

      Additionally, setting up the URL delimeter uses the dataSourceConfig instead of the xaDataSourceConfig, but that seems harmless, so far.

      In TorqueBox, we hacked around:

      https://github.com/torquebox/torquebox/blob/7f51e360749d8093fc291fbf238b7d2be18ec9a0/modules/core/src/main/java/org/torquebox/core/datasource/HackDataSourceService.java

              smaestri@redhat.com Stefano Maestri
              bmcwhirt@redhat.com Bob McWhirter (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: