Bug 1220009
| Summary: | [GSS](6.4.z) CompositeIndexProcessor uses wrong module loader to load external annotation indexes | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Brad Maxwell <bmaxwell> |
| Component: | Server | Assignee: | Chao Wang <chaowan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | hsvabek |
| Severity: | unspecified | Docs Contact: | eap-docs <eap-docs> |
| Priority: | unspecified | ||
| Version: | 6.4.1 | CC: | cdewolf, chaowan, hsvabek, jason.greene, jawilson, mmusaji, psotirop |
| Target Milestone: | CR1 | ||
| Target Release: | EAP 6.4.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Before this fix, if a deployment uses jboss-deployment-structure.xml to declare a dependency on another deployment's module and specifies annotation=true, it will fail with ModuleNotFoundException. After the fix it will not fail and the deployment will see the other deployment's annotations if it has included a META-INF/jandex.idx
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-17 10:14:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1219165 | ||
set up proper flags for next CP Verified on jboss-eap-6.4.2.CP.CR1 Retroactively bulk-closing issues from released EAP 6.4 cumulative patches. |
CompositeIndexProcessor uses wrong module loader to load external annotation indexes Specifying annotations=true on a deployment dependency throws ModuleNotFoundException <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2"> <deployment> <dependencies> <module name="deployment.interceptor.jar" export="true" meta-inf="export" annotations="true"/> </dependencies> </deployment> </jboss-deployment-structure> 12:37:10,906 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-12) MSC000001: Failed to start service jboss.deployment.unit."test.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."test.jar".PARSE: JBAS018733: Failed to process phase PARSE of deployment "test.jar" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.modules.ModuleNotFoundException: deployment.interceptor.jar:main at org.jboss.as.server.deployment.annotation.CompositeIndexProcessor.deploy(CompositeIndexProcessor.java:81) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] ... 5 more Caused by: org.jboss.modules.ModuleNotFoundException: deployment.interceptor.jar:main at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:240) [jboss-modules.jar:1.3.6.Final-redhat-1] at org.jboss.as.server.deployment.annotation.CompositeIndexProcessor.deploy(CompositeIndexProcessor.java:72) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] ... 6 more 12:37:11,142 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "test.jar")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"test.jar\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"test.jar\".PARSE: JBAS018733: Failed to process phase PARSE of deployment \"test.jar\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.modules.ModuleNotFoundException: deployment.interceptor.jar:main Caused by: org.jboss.modules.ModuleNotFoundException: deployment.interceptor.jar:main"}}