Bug 1069190

Summary: [QE] (6.2.x) Patch conflict with eap with natives installed
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Martin Simka <msimka>
Component: PatchingAssignee: Vaclav Tunka <vtunka>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Martiska <jmartisk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: emuckenh, jason.greene, jawilson, jdoyle, jkudrnac, kconner, mbabacek, msimka, olubyans, rsvoboda
Target Milestone: CR2   
Target Release: EAP 6.2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When attempting to apply the JBoss EAP 6.2.1 cumulative patch to an installation on which native components had been installed, the +patch+ command failed with the error message: ----------------------------------- Conflicts detected: org.hornetq:main, org.jboss.as.web:main Use the --override or --preserve arguments in order to resolve the conflict. ----------------------------------- However, installing the cumulative patch with the +--override-modules+ argument disabled the native components. As a consequence, it is not possible to install the JBoss EAP 6.2.1 cumulative patch if native components are installed. The JBoss EAP 6.2.2 cumulative patch is built differently and is compatible with native components.
Story Points: ---
Clone Of:
: 1069506 (view as bug list) Environment:
Last Closed: 2014-06-02 12:50:14 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: 1069506    
Bug Blocks: 1049365    

Description Martin Simka 2014-02-24 12:44:10 UTC
Description of problem:
***********************
When patch updates modules that contain natives, patching mechanism detects conflicts and doesn't allow to install patch. 


Version-Release number of selected component (if applicable):
***********************
EAP 6.2.0.GA


Steps to Reproduce:
***********************
1. unzip eap
2. install natives
3. ./bin/jboss-cli.sh '--command=patch apply path_to_cp1' 

Actual results:
***********************
Conflicts detected: org.hornetq:main, org.jboss.as.web:main
Use the --override or --preserve arguments in order to resolve the conflict.

Expected results:
***********************
Patch is successfully installed.

Additional info:
***********************
Workaround is to apply patch with --override-modules, but this disables natives. 

Similar issue with installer distribution of eap: https://bugzilla.redhat.com/show_bug.cgi?id=1065830