Bug 983570

Summary: War distributions contain multiple versions of some artifacts in WEB-INF/lib
Product: [Retired] JBoss BRMS Platform 6 Reporter: Petr Široký <psiroky>
Component: Build and AssemblyAssignee: Ryan Zhang <rzhang>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Široký <psiroky>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0   
Target Milestone: ER2   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:15:27 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 Petr Široký 2013-07-11 13:41:09 UTC
Description of problem:
Both deployble and eap6 BRMS distributions contain few artifacts with multiple versions in WEB-INF/lib. See below for the complete list. I think we should make sure that only one version of each artifact is in WEB-INF/lib as in runtime only one of them will be loaded by JVM and its not defined which of them will it be.

List of duplicated artifacts in 'brms-6.0.0-*-deployable.zip/jboss-brms-manager/.../WEB-INF/lib':
 - javassist (3.12.1.GA and 3.15.0-GA)
 - netty (3.2.0.Final and 4.0.0.Alpha1.errai.r1)
 - servlet-api (2.5 and 2.5-20081211)
 - stax-api (1.0-2 and 1.0.1)

List of duplicated artifacts in 'brms-6.0.0-*-eap6.zip/.../deployments/jboss-brms.war/WEB-INF/lib':
 - javassist (3.12.1.GA and 3.15.0-GA)
 - stax-api (1.0-2 and 1.0.1)


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

Comment 2 Ryan Zhang 2013-08-28 05:35:58 UTC
All multiple version has been resolved except netty in deployable.zip.
I raise another bugzilla to track this more precisely.
See https://bugzilla.redhat.com/show_bug.cgi?id=1001906

Comment 3 Petr Široký 2013-08-31 17:34:23 UTC
Verified. Two versions of netty are still present, but that is tracked by the issue Ryan created.