Bug 1069512 - [QE] (6.4.0) patch conflict with pure EAP 6.2 installed using the jar installer
Summary: [QE] (6.4.0) patch conflict with pure EAP 6.2 installed using the jar installer
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Patching
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: EAP 6.4.0
Assignee: Brian Stansberry
QA Contact: Jan Martiska
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks: 1065830
TreeView+ depends on / blocked
 
Reported: 2014-02-25 07:53 UTC by Rostislav Svoboda
Modified: 2018-12-04 17:37 UTC (History)
17 users (show)

Fixed In Version:
Clone Of: 1065830
Environment:
Last Closed: 2015-03-20 09:02:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1069506 0 unspecified CLOSED [QE] (6.4.0) Patch conflict with eap with natives installed 2021-02-22 00:41:40 UTC

Internal Links: 1069506

Comment 2 Enrique Gonzalez Martinez 2014-11-13 09:33:11 UTC
The patching tools is checking whenever the SHA1 hash of the current installation file matches the expected to be patched (this hash is included in the patch.xml in patch file).

This part of the procedure is done in the class AbstractPatchingTask::prepare()

The system tries to backup the file/subsystem and calculate the hash of the current file/subsystem installed. There are two different causes for this error:

1) This is not possible because the file is missing (the installer does not copy them). This happens for bin/client/jboss-cli-client.jar, bin/client/jboss-client.jar, bin/jconsole.sh

2) When the native libs are installed, it adds a new folder inside org.jboss.as.web:main (for including the dll in windows). This changes the hash calculation. The hash does not match the expected hash in the patch.xml. This happens for the org.jboss.as.web

In both cases the file installed does not match the expected to be replaced in the patch.xml. therefore the patch tool raises a conflict.

The error after the workaround is because it wasn't possible to backup the files (they were missing in first place) and when the system tries to recover them, they are not there.

From my point of view:
1) Files missing: this is an error in the base installation using the installer. It should match the same content as the zip install.
2) Optional packages (i.e: native libraries): in this case requires design solution. The installation of the natives libraries changes the hash to be checked by the patch tool.

Comment 6 Dimitris Andreadis 2015-02-03 21:03:24 UTC
re-assign Emanuel's assigned bugs to Brian.

Comment 8 Carlo de Wolf 2015-03-20 09:02:54 UTC
Moved to https://issues.jboss.org/browse/EAP7-272


Note You need to log in before you can comment on or make changes to this bug.