[
https://issues.jboss.org/browse/AS7-3375?page=com.atlassian.jira.plugin.s...
]
Robert Panzer commented on AS7-3375:
------------------------------------
Forgot to add in the description that only the RootDeploymentUnitService sets this
attachment, but not the SubDeploymentUnitService
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