此内容没有您所选择的语言版本。

Chapter 6. Applying a hotfix patch to Fuse on JBoss EAP


6.1. Hotfix patches for Fuse on JBoss EAP

Hotfix patches contain updated versions of specific files in a Fuse on JBoss EAP installation. They typically include only fixes for one or more critical bugs. Hotfix patches are applied on top of your existing Red Hat Fuse distribution and update a subset of the existing Fuse files only.

Applying patches for Fuse on JBoss EAP is a two-stage process where patch files are first added to a patch repository and then installed in the JBoss EAP server. The following diagram shows an overview of the Fuse patching process on JBoss EAP:

Fuse hotfix patching process
Patch repository
The patch repository is a holding area for Fuse on JBoss EAP patches that runs in the same JVM as the JBoss EAP server. When a patch is present in the repository, this does not imply that it has been installed in the JBoss EAP server. You must first add the patch to the repository, and then you can install the patch from the repository into the JBoss EAP server.
fusepatch utility
The fusepatch utility is a command-line tool for patching Fuse on JBoss EAP. After installing the Fuse on EAP package, the fusepatch.sh script (Linux and UNIX) and the fusepatch.bat (Windows) script are available in the bin directory of the JBoss EAP server.

6.2. Installing a Fuse hotfix patch on JBoss EAP

A hotfix patch must be installed on top of an existing Fuse installation. This section explains how to install a hotfix patch, fuse-eap-distro-VERSION.fuse-MODULE_ID.HOTFIX_ID.zip, on top of an existing Fuse installation that already includes fuse-eap-distro-VERSION.fuse-MODULE_ID-BASE_ID.

Prerequisites

  • Section 6.1, “Hotfix patches for Fuse on JBoss EAP”.
  • Download the hotfix patch .zip file available on demand from Red Hat Support.
  • Read the instructions in the readme.txt file accompanying the hotfix patch file, in case there are any extra steps that you must perform to install it.
  • Make a full backup of your Fuse on JBoss EAP installation before applying the patch.

Procedure

  1. Copy the hotfix patch file to your EAP_HOME directory.
  2. Make sure that the correct base version has already been added to your patch repository and installed on the JBoss EAP server. For example, if the base installation includes MODULE_ID and BASE_ID, check that these are installed in the repository:

    $ bin/fusepatch.sh --query-repository fuse-eap-distro-VERSION.fuse-MODULE_ID-redhat-BASE_ID

    And check that the same IDs are installed on the JBoss EAP server:

    $ .bin/fusepatch.sh --query-server fuse-eap-distro-VERSION.fuse-MODULE_ID-redhat-BASE_ID
  3. Given the one-off hotfix patch file, fuse-eap-distro-VERSION.fuse-MODULE_ID.HOTFIX_ID.zip, add this to your repository and associate it with the base installation by entering the following command:

    $ bin/fusepatch.sh --add file:fuse-eap-distro-VERSION.fuse-MODULE_ID.HOTFIX_ID.zip --one-off fuse-eap-distro-VERSION.fuse-MODULE_ID-BASE_ID
  4. Update the base module, fuse-eap-distro-VERSION.fuse-MODULE_ID-BASE_ID, on the JBoss EAP server to the latest version:

    $ .bin/fusepatch.sh --update fuse-eap-distro-VERSION.fuse-MODULE_ID-BASE_ID
  5. Perform any post-installation steps documented in the patch instructions.

Additional resources

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.