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

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.1.0.Final
    • 7.1.0.CR1b
    • JCA
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: