14.4. Install Patches in Zip Form
patchcommand is used to apply downloaded zip patches to a single JBoss EAP 6 server instance. It cannot be used to automatically patch JBoss EAP 6 server instances across a managed domain, but individual server instances in a managed domain can be patched independently.
patchcommand. Refer to Section 14.5, “Install Patches in RPM form” to update RPM-installed JBoss EAP 6 servers.
patchcommand can only be used with patches produced for versions of JBoss EAP 6.2 and later. For patches for versions of JBoss EAP prior to 6.2, you should instead refer to the relevant version's documentation available at https://access.redhat.com/site/documentation/.
patchcommand can give basic information on the state of installed patches, and also provides a way to immediately rollback the application of a patch.
patchtool will check the modules and other miscellaneous files that it is changing for any user modifications. If a user modification is detected, and a conflict-handling switch has not been specified, the
patchtool will abort the operation and warn that there is a conflict. The warning will include a list of the modules and other files that are in conflict. To complete the operation, the
patchcommand must be re-run with a switch specifying how to resolve the conflict: either to preserve the user modifications, or to override them.
patch Command Arguments and Switches
|Argument or Switch||Description|
| ||Applies a patch.|
| ||If there is a conflict, the patch operation overrides any user modifications.|
| ||If there is a conflict as a result of any modified modules, this switch overrides those modifications with the contents of the patch operation.|
| ||For specified miscellaneous files only, this will override the conflicting modified files with the files in the patch operation.|
| ||For specified miscellaneous files only, this will preserve the conflicting modified files.|
| ||Returns information on currently installed patches.|
| ||Rollsback the application of a patch.|
| ||Required for rollback, this specifies whether to restore the server configuration files as part of the rollback operation.|