[jboss-jira] [JBoss JIRA] (AS7-3375) Deployment of resource adapters embedded in an ear does not work

Robert Panzer (JIRA) jira-events at lists.jboss.org
Fri Jan 20 04:12:18 EST 2012


Robert Panzer created AS7-3375:
----------------------------------

             Summary: Deployment of resource adapters embedded in an ear does not work
                 Key: AS7-3375
                 URL: https://issues.jboss.org/browse/AS7-3375
             Project: Application Server 7
          Issue Type: Bug
          Components: JCA
    Affects Versions: 7.1.0.CR1b
         Environment: Win7, JBoss 7.1.0.Final-SNAPSHOT, JDK 1.6.0_29 64Bit
            Reporter: Robert Panzer
            Assignee: Jesper Pedersen
             Fix For: 7.1.0.Final


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list