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

Deployment of resource adapters embedded in an ear does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.Final
    • 7.1.0.CR1b
    • JCA
    • None
    • Win7, JBoss 7.1.0.Final-SNAPSHOT, JDK 1.6.0_29 64Bit

      The ParsedRADeploymentProcessor gets the MUTABLE_REGISTRATION_ATTACHMENT from the deployment unit in line 106, that is not set, so it is null.
      Then later in line 176 it tries to register statistics for this resource adapter and calls registration.isAllowsOverride() so that a NPE occurs.

      I have posted a pull request that omits this registration in case registration is null.
      So for every embedded resource adapter statistics will not be available.
      Maybe there is a better was to do this but at least it works for me.

              smaestri@redhat.com Stefano Maestri
              robert.panzer_jira Robert Panzer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: