Bug 1113244

Summary: DV module org.jboss.as.product has slot=eap
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Zuzana Zoubkova <zzoubkov>
Component: Productization, InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0, 6.1.0CC: atangrin, dlesage, felias, jcoleman, jstastny, kpalko, ncross, theute, vhalbert
Target Milestone: ER6Keywords: QA-Closed
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-10 08:48:46 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:

Description Zuzana Zoubkova 2014-06-25 17:40:54 UTC
Description of problem:
Consistency checker has found that DV org.jboss.as.product module has slot (version) set to "eap":

*** Modules have the same name and version, but different location: name=org.jboss.as.product, version=eap
ERROR: Modules have identical dependencies- and resource- lists, but MD5 checksums of their actual resources differ!
/mnt/hudson_workspace/workspace/soa-team-tests-6-consistency_checker-ip-all-60/test-data/jboss-eap-6.1/modules/system/layers/base/org/jboss/as/product/eap
/mnt/hudson_workspace/workspace/soa-team-tests-6-consistency_checker-ip-all-60/test-data/jboss-eap-6.1/modules/system/layers/dv/org/jboss/as/product/dv

Other products have this value overridden:

*** IGNORED: Found multiple versions of one module: name=org.jboss.as.product
version=bpms, file: /mnt/hudson_workspace/workspace/soa-team-tests-6-consistency_checker-ip-all-60/test-data/jboss-eap-6.1/modules/system/layers/bpms/org/jboss/as/product/bpms
version=sramp, file: /mnt/hudson_workspace/workspace/soa-team-tests-6-consistency_checker-ip-all-60/test-data/jboss-eap-6.1/modules/system/layers/sramp/org/jboss/as/product/sramp
version=soa, file: /mnt/hudson_workspace/workspace/soa-team-tests-6-consistency_checker-ip-all-60/test-data/jboss-eap-6.1/modules/system/layers/soa/org/jboss/as/product/soa
version=brms, file: /mnt/hudson_workspace/workspace/soa-team-tests-6-consistency_checker-ip-all-60/test-data/jboss-eap-6.1/modules/system/layers/brms/org/jboss/as/product/brms



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Julian Coleman 2015-01-14 15:57:07 UTC
slot=eap is correct for DV according to the specifications:

  https://mojo.redhat.com/docs/DOC-179024

  EAP + EDS	slot=eap	layers=dv

Should this be changed?

Comment 4 Julian Coleman 2015-01-14 15:57:42 UTC
*** Bug 1146610 has been marked as a duplicate of this bug. ***

Comment 5 Julian Coleman 2015-01-14 16:57:58 UTC
Changing bin/product.conf to contain:

  slot=dv

results in:

11:54:05,547 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.io.IOException: Unable to load resource handler
        at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:230) [jboss-as-server-7.4.2.Final-redhat-2.jar:7.4.2.Final-redhat-2]
        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_25]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
        at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
Caused by: java.io.IOException: Unable to load resource handler
        at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:212)
        at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:194) [jboss-as-server-7.4.2.Final-redhat-2.jar:7.4.2.Final-redhat-2]
        ... 5 more
Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.as.domain-http-error-context:main
        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:240) [jboss-modules.jar:1.3.4.Final-redhat-1]
        at org.jboss.as.domain.http.server.ResourceHandler.getClassLoader(ResourceHandler.java:326)
        at org.jboss.as.domain.http.server.ErrorHandler.<init>(ErrorHandler.java:54)
        at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:210)
        ... 6 more

Comment 6 Julian Coleman 2015-01-15 16:45:59 UTC
Assembly updated with commit 40dac0baadd39c14c9e3a02e3f669879da8617dc to ip.git:

    BZ-1113244
    Change the slot name in the product module.xml to "dv".

Comment 7 Thomas Hauser 2015-01-15 20:46:16 UTC
Fixed in the installer component which writes the slot=* into product.conf.