Updating Red Hat JBoss Enterprise Application Platform

Red Hat JBoss Enterprise Application Platform 8.0

Comprehensive instructions for updating Red Hat JBoss Enterprise Application Platform.

Red Hat Customer Content Services

Abstract

This guide describes the supported update methods for JBoss EAP.

Providing feedback on JBoss EAP documentation

To report an error or to improve our documentation, log in to your Red Hat Jira account and submit an issue. If you do not have a Red Hat Jira account, then you will be prompted to create an account.

Procedure

  1. Click the following link to create a ticket.
  2. Enter a brief description of the issue in the Summary.
  3. Provide a detailed description of the issue or enhancement in the Description. Include a URL to where the issue occurs in the documentation.
  4. Clicking Submit creates and routes the issue to the appropriate documentation team.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.

Chapter 1. JBoss EAP 8.0 update methods

You can update JBoss EAP 8.0 using the following methods:

  • JBoss EAP Installation Manager
  • Management CLI
  • Web console
  • RPM

From JBoss EAP  8.0 onward, the JBoss EAP server can be updated in either online or offline mode. These modes are supported by all the update methods.

  • Online update: You can update JBoss EAP directly from an online repository. You must have access to the Red Hat repositories or their mirrors to use this mode. This option always updates to the latest available JBoss EAP  8.0 update.
  • Offline update: You can update JBoss EAP from a local file-system. Use the offline update mode if you do not have online access to the Red Hat repositories or their mirrors. You will need to download the latest update and distribute it to your systems.

Depending on your requirements, choose one of the listed update methods. The following table provides a brief overview of each type of update method.

Table 1.1. Update Methods

MethodDescription

JBoss EAP Installation Manager

  • Use this method if you want to update a local JBoss EAP 8.x server that is not running.

Management CLI

  • Use this method if you want to update a remote JBoss EAP 8.x server.

Web console

  • Use this method if you want to update a 8.x server that is running either in a standalone or managed domain mode using management console GUI.

RPM Installation

  • Use this method if you want to update a JBoss EAP 8.x server installed using the RPM installation method.

You can run JBoss EAP on the following cloud platforms. This documentation does not cover provisioning on other cloud platforms. See the related documentation.

  • JBoss EAP on OpenShift.

Additional resources

JBoss EAP on OpenShift.

Chapter 2. Understanding channels in JBoss EAP

The jboss-eap-installation-manager provides a streamlined and controlled pathway to access the most recent supported versions of JBoss EAP components. These streamlined and controlled pathways are called channels. A channel consists of a curated list of component versions (called channel manifest) and a collection of repositories used to resolve and retrieve those components. Each repository has a unique name (id) and a default Maven repository URL. The jboss-eap-installation-manager allows you to manage these channels effectively in both stand-alone and managed domain configurations.

Chapter 3. Updating JBoss EAP using the jboss-eap-installation-manager

3.1. Updating JBoss EAP using the jboss-eap-installation-manager

You can update JBoss EAP periodically if new updates are available after you have downloaded and installed it.

Prerequisites

  • You have access to the internet.
  • You have created an account on the Red Hat customer portal and are logged in.
  • You have downloaded the jboss-eap-installation-manager.

Procedure

  1. Navigate to the directory containing the downloaded jboss-eap-installation-manager by using your terminal emulator.
  2. Check for available updates:

    ./jboss-eap-installation-manager.sh update list --dir eap-8
  3. Update JBoss EAP by running the following command

    Syntax

    ./jboss-eap-installation-manager.sh update perform --dir eap-8

    Example

    ./jboss-eap-installation-manager.sh update perform --dir eap-8
    Updates found:
      org.wildfly.galleon-plugins:wildfly-galleon-plugins    6.3.1.Final-redhat-00001 ==>  6.3.2.Final-redhat-00001
      org.wildfly.wildfly-http-client:wildfly-http-transaction-client    2.0.1.Final-redhat-00001 ==>  2.0.2.Final-redhat-00001

    Follow the rest of the prompts to update JBoss EAP.

    Continue with update [y/N]: y
    Building updates
    
    Feature-packs resolved.
    Packages installed.
    Downloaded artifacts.
    JBoss modules installed.
    Configurations generated.
    JBoss examples installed.
    
    Build update complete!
    Applying updates
    Update complete!
    Operation completed in 60.49 seconds.

3.2. Updating JBoss EAP offline using the jboss-eap-installation-manager

You can update your JBoss EAP installation without access to the internet if new updates are available locally on your machine. This offline update capability gives you more control over the update process and can be useful in scenarios where access to external Maven repositories is not possible or if you prefer to manage updates manually.

Prerequisites

  • You have created an account on the Red Hat customer portal.
  • You have downloaded the JBoss EAP jboss-eap-installation-manager.

Procedure

  1. Download the offline repository from Red Hat customer portal.
  2. Extract the downloaded archive file.
  3. Stop the server.

    Note

    Before continuing, ensure you have correctly set the path to point to the extracted Maven-repository sub-folder.

  4. Perform the update.

    $ ./jboss-eap-installation-manager.sh update perform \
      --dir jboss-eap-8.0 \
      --repositories mrrc::file:<PATH_TO_EXTRACTED_REPOSITORY>/jboss-eap-8.0.1.GA-maven-repository/maven-repository \
      --offline

    Follow the remaining prompts to complete the update process for JBoss EAP.

    Updates found:
      io.undertow:undertow-core                             2.3.7.SP1-redhat-00001 ==>  2.3.8.Final-redhat-00001
    Continue with update [y/N]: y
    Building updates
    
    Feature-packs resolved.
    Packages installed.
    Downloaded artifacts.
    JBoss modules installed.
    Configurations generated.
    JBoss examples installed.
    
    Build update complete!
    Applying updates
    Update complete!
    Operation completed in 46.35 seconds.

3.3. Reverting JBoss EAP updates using the jboss-eap-installation-manager

After installing an update, you can revert back to a previously installed version of JBoss EAP.

Prerequisites

  • You have access to the internet.
  • You have created an account on the Red Hat customer portal and are logged in.
  • You have downloaded the jboss-eap-installation-manager.
  • You have updated JBoss EAP.

Procedure

  1. Navigate to the directory containing the jboss-eap-installation-manager by using your terminal emulator.
  2. View the history of all versions of JBoss EAP, which you have installed:

    ./jboss-eap-installation-manager.sh history --dir eap-8
    Note

    This command displays all JBoss EAP installations and updates with their respective installation state ID.

  3. Investigate specific changes made to JBoss EAP during an update:

    ./jboss-eap-installation-manager.sh history --dir eap-8 --revision <Installation state>

    This command displays specific JBoss EAP components that have been updated

  4. Revert JBoss EAP by specifying the installation state of the JBoss EAP version in the following command:

    Syntax

    ./jboss-eap-installation-manager.sh revert perform --dir eap-8 --revision <Installation state>

    Important

    You must specify the installation state of the JBoss EAP version.

    Example

    ./jboss-eap-installation-manager.sh revert perform --dir eap-8 --revision 6a6f55eb
    Feature-packs resolved.
    Packages installed.
    Downloaded artifacts.
    JBoss modules installed.
    Configurations generated.
    JBoss examples installed.
    
    Reverted server prepared, comparing changes
    No changes found

    Follow the rest of the prompts to revert JBoss EAP updates.

    Continue with revert [y/N]: y
    Applying changes
    
    Server reverted to state ea768519.
    Operation completed in 55.39 seconds.

3.4. Managing JBoss EAP installation channels

After successfully setting up JBoss EAP, you can change the channels to which your JBoss EAP installation is subscribed.

Prerequisite

Procedure

  1. Managing JBoss EAP installation channels

    1. Investigate the channels your JBoss EAP installation is currently subscribed to by using the following command:

      ./jboss-eap-installation-manager.sh channel list --dir eap-8
    2. Subscribe your JBoss EAP installation to a new channel by using the following command:

      ./jboss-eap-installation-manager.sh channel add --channel-name <CHANNEL_NAME> --manifest <GROUP_ID:ARTIFACT_ID> --repositories <ID::REPOSITORY_URL> --dir eap-8
    3. unsubscribe your JBoss EAP installation from a channel using the following command:

      ./jboss-eap-installation-manager.sh channel remove --channel-name <CHANNEL_NAME> --dir eap-8
    4. Export a server snapshot by using the following command:

      ./jboss-eap-installation-manager.sh clone export --dir=<directory> --path=<target_archive>
Note

Any modifications you have made to configuration files will not be exported.

Chapter 4. Updating Feature packs to your JBoss EAP installation using the jboss-eap-installation-manager

4.1. Updating Feature Packs from your JBoss EAP installation

You can use the jboss-eap-installation-manager to update Feature Packs on your JBoss EAP server installation.

Prerequisites

  • The jboss-eap-installation-manager is present on your system.
  • Your JBoss EAP installation has a feature pack installed on it.

Procedure

  1. Stop the JBoss EAP server.
  2. Open the terminal emulator and navigate to the directory containing the downloaded jboss-eap-installation-manager.
  3. Update the feature packs on the server:

    $ ./jboss-eap-installation-manager.sh update perform --dir jboss-eap8

4.2. Updating feature packs on an offline JBoss EAP server

You can use the jboss-eap-installation-manager to update Feature Packs on your JBoss EAP server installation offline.

Prerequisites

  • You have downloaded and extracted the latest JBoss EAP 8.0 repository.
  • If required, you have downloaded the latest feature pack repository.
  • You have added Feature Packs to your JBoss EAP installation.

Procedure

  1. Stop the JBoss EAP server.
  2. Open the terminal emulator and navigate to the directory containing the downloaded jboss-eap-installation-manager.
  3. Update the feature packs on the server:

    $ ./jboss-eap-installation-manager.sh update perform --dir jboss-eap8 --repositories <EAP8_OFFLINE_REPO_PATH>,<FEATURE_PACK_OFFLINE_REPO>

4.3. Updating additional artifacts

You can use the jboss-eap-installation-manager to update additional artifacts in your JBoss EAP installation.

Note
  • MyFaces artifacts are not provided or supported by Red Hat.
  • All other channels outside of JBoss EAP channels are not supported.

Prerequisite

  • You have an account on the Red Hat Customer Portal and are logged in.
  • You have reviewed the supported configurations for JBoss EAP 8.0.
  • You have installed a supported JDK.
  • You have downloaded the jboss-eap-installation-manager.

Procedure

  1. Open the terminal emulator and navigate to the directory containing jboss-eap-installation-manager.
  2. Update the subscribed custom channels in the manifest.yaml file with the new version of myfaces artifacts:

    schemaVersion: 1.0.0
    name: MyFaces manifest file
    streams:
      - groupId: org.apache.myfaces.core
        artifactId: myfaces-impl
        version: 4.0.1
      - groupId: org.apache.myfaces.core
        artifactId: myfaces-api
        version: 4.0.1
  3. Deploy the newly updated manifest:

    mvn deploy:deploy-file -Dfile=manifest.yaml \
      -DgroupId=com.example.channels -DartifactId=myfaces \
      -Dclassifier=manifest -Dpackaging=yaml -Dversion=1.0.1 \
      -Durl=file:/path/to/local/repository
  4. Stop the JBoss EAP server.
  5. Update the artifacts:

    $ ./jboss-eap-installation-manager.sh update perform --dir jboss-eap8
    Updating server: /tmp/jboss/jboss-eap-8.0
    
    Updates found:
      org.apache.myfaces.core:myfaces-api                   4.0.0                ==>  4.0.1
      org.apache.myfaces.core:myfaces-impl                  4.0.0                ==>  4.0.1
    
    Continue with update [y/N]: y
    Building updates
    
    Feature-packs resolved.
    Packages installed.
    Downloaded artifacts.
    JBoss modules installed.
    Configurations generated.
    JBoss examples installed.
    
    Build update complete!
    Applying updates
    Update complete!
    Operation completed in 21.48 seconds.

Chapter 5. Managing your JBoss EAP server installation using the Management CLI

In JBoss EAP 8.0, we have integrated the jboss-eap-installation-manager into the JBoss EAP server management model, allowing you to update and revert your remote server installations without the need to log in to the remote machine and use the jboss-eap-installation-manager from the operating system command line.

Note

If you are updating or reverting a local JBoss EAP installation, the jboss-eap-installation-manager is recommended instead of the Management CLI operations. However, you cannot use the jboss-eap-installation-manager to update or revert a remote JBoss EAP installation. In this case, use the Management CLI.

5.1. Prerequisite

  • You have a JBoss EAP installed.

5.2. Updating JBoss EAP running as a stand-alone server or a managed domain using the Management CLI

You can update your JBoss EAP server installation in a stand-alone server or a managed domain using the JBoss EAP Management CLI. The following steps outline the phases of the update process.

  • List update: Before preparing the server to be updated, the installer update command will check for all available updates and provide a list of updates ready to be applied to your JBoss EAP instance.
  • Prepare update: After confirming the available updates, the command will prepare a candidate server ready to be applied to your current installation. The candidate server is prepared in the server temporal directory, which is the directory represented by the file system path jboss.domain.temp.dir in a managed domain or jboss.server.temp.dir in stand-alone server mode. Once the preparation phase is completed, no further server preparations can be made. However, at any time, you can remove the prepared candidate server by cleaning up the manager cache. This action clears the cache and allows the preparation of a different installation, enabling you to start afresh. For more information, see Cleaning the installer.
  • Apply update: Once the candidate server is created, you can apply it to your instance by restarting your JBoss EAP server.

Procedure

  1. Launch the JBoss EAP Management CLI.

    EAP_HOME/bin/jboss-cli.sh
  2. Update JBoss EAP:

    1. Update JBoss EAP in a stand-alone server.

      [standalone@localhost:9990 /] installer update
    2. Update JBoss EAP in a managed domain

      [domain@localhost:9990 /] installer update --host=target-host
  3. Restart your JBoss EAP server to complete the update process:

    Note

    You must ensure that no other processes are launched from the JBOSS_EAP/bin folder, such as JBOSS_EAP/bin/jconsole.sh and JBOSS_EAP/bin/appclient.sh, when restarting the server with the --perform-installation option. This precaution prevents conflicts in writing files that might be in use by other processes during the server’s update.

    1. Restart your JBoss EAP server in a stand-alone server.

      [standalone@localhost:9990 /] shutdown --perform-installation
    2. Restart your JBoss EAP server in a managed domain.

      [domain@localhost:9990 /] shutdown --host=target-host --perform-installation
Note

For more information about additional command options use the help command.

Additional resources

5.3. Updating your JBoss EAP server offline using the Management CLI

The following example describes how to use the Management CLI to update JBoss EAP offline in a stand-alone server and a managed domain. This is useful in scenarios where the target server installation lacks access to external Maven repositories. You can use the Management CLI to update your server. To do so, you need to specify the location of the Maven repository that contains the required artifacts to update your server. You can download the Maven repository for your update from the Red Hat Customer Portal

Prerequisite

  • You have the Maven archive repository containing the required artifacts locally on your machine.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. Update JBoss EAP offline:

    1. Update JBoss EAP offline in a stand-alone server:

      [standalone@localhost:9990 /] installer update --maven-repo-files=<An absolute or a relative path pointing to the local archive file that contains a maven repository>
    2. Update JBoss EAP offline in a managed domain:

      [domain@localhost:9990 /] installer update --host=target-host --maven-repo-files=<An absolute or a relative path pointing to the local archive file that contains a maven repository>
  3. Restart your JBoss EAP server to complete the update process:

    Note

    You must ensure that no other processes are launched from the JBOSS_EAP/bin folder, such as JBOSS_EAP/bin/jconsole.sh and JBOSS_EAP/bin/appclient.sh, when restarting the server with the --perform-installation option. This precaution prevents conflicts in writing files that might be in use by other processes during the server’s update.

    1. Restart your JBoss EAP server in a stand-alone server:

      [standalone@localhost:9990 /] shutdown --perform-installation
    2. Restart your JBoss EAP server in a managed domain:

      [domain@localhost:9990 /] shutdown --host=target-host --perform-installation

Chapter 6. Viewing the history of your JBoss EAP server changes using the Management CLI

The JBoss EAP Management CLI allows you to easily view the history of all the updates and reverts that you applied on your JBoss EAP server. The Management CLI provides you with a comprehensive list of changes on your JBoss EAP server when you run the installer history command. These include updates, reverts and other modifications to the channel configuration. If you need more detailed information about a particular change, you can investigate futher it by appending --revision=<Installation state> to the command. This allows you to access the specific revision’s details and gain deeper insights into the changes to your JBoss EAP server.

6.1. Prerequisite

  • You have a JBoss EAP server installed.

6.2. Viewing the history of your JBoss EAP server changes in a stand-alone or a managed domain

The following example describes how to use the JBoss EAP Management CLI to view the history of updates, reverts, or configuration changes on your JBoss EAP server in a stand-alone or a managed domain.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. View the history of JBoss EAP changes:

    1. View the history of JBoss EAP changes in a stand-alone server:

      [standalone@localhost:9990 /] installer history
    2. View the history of JBoss EAP changes in a managed domain:

      [domain@localhost:9990 /] installer history --host=target-host

Chapter 7. Reverting your JBoss EAP server updates using the Management CLI

You can revert updates applied to your JBoss EAP server using the Management CLI. To revert the changes applied to your JBoss EAP server, use the installer history command to view the previous versions of JBoss EAP installations on your server. Once you have confirmed the correct version of JBoss EAP you want to revert to, prepare a candidate server using the installer revert command. After preparing the candidate server, restart your JBoss EAP server to complete the revert process.

For more information see how to view the history of JBoss EAP installations on your server.

7.1. Reverting your JBoss EAP server updates in a stand-alone server or a managed domain

You can revert your JBoss EAP server installation in a stand-alone server or a managed domain using the JBoss EAP Management CLI. The following steps outline the phases of the revert process.

  • Prepare revert: In this phase, the JBoss EAP installation is prepared for the revert on the target machine. The candidate server is prepared in the server temporal directory, which is the directory represented by the file system path jboss.domain.temp.dir in a managed domain or jboss.server.temp.dir in stand-alone server mode. Once this phase is completed, no further server preparations can be performed on the same candidate server. However, you can clean the installation manager cache, which allows you to prepare a different installation if needed. For more information, see Cleaning the installer.
  • Apply revert: Once you have completed the revert process, restart your JBoss EAP server to apply the candidate server prepared to revert your installation.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. Revert your JBoss EAP server:

    Note

    Use the installer history command to view the installation state you want to revert your installation to.

    1. Revert your JBoss EAP server updates in a stand-alone server:

      [standalone@localhost:9990 /] installer revert --revision=abcd1234
    2. Revert your JBoss EAP server updates in a managed domain:

      [domain@localhost:9990 /] installer revert --host=target-host --revision=abcd1234
      Note

      For more information about additional command options use the help command.

  3. Restart your JBoss EAP server to complete the revert process:

    Note

    You must ensure that no other processes are launched from the JBOSS_EAP/bin folder, such as JBOSS_EAP/bin/jconsole.sh and JBOSS_EAP/bin/appclient.sh, when restarting the server with the --perform-installation option. This precaution prevents conflicts in writing files that might be in use by other processes during the server’s revert.

    1. Restart your JBoss EAP server in a stand-alone server:

      [standalone@localhost:9990 /] shutdown --perform-installation
    2. Restart your JBoss EAP server in a managed domain:

      [domain@localhost:9990 /] shutdown --host=target-host --perform-installation

Additional resources

7.2. Reverting your JBoss EAP server installation offline using the Management CLI

The following example describes how to use the Management CLI to revert your JBoss EAP installation offline in a stand-alone server and a managed domain. This is useful in scenarios where the target server installation lacks access to external Maven repositories. You can use the Management CLI to revert your JBoss EAP server installation. To do so, you need to specify the location of the Maven repository that contains the required artifacts to revert your server. You can download the Maven repository for your update from the Red Hat Customer Portal.

Prerequisite

  • You have the Maven archive repository containing the required artifacts locally on your machine.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. Revert JBoss EAP installation offline:

    1. Revert JBoss EAP installation offline in a stand-alone server:

      [standalone@localhost:9990 /] installer revert --revision=abcd1234 --maven-repo-files=<An absolute or a relative path pointing to the local archive file that contains a maven repository>
    2. Revert JBoss EAP offline in a managed domain:

      [domain@localhost:9990 /] installer revert --host=target-host --revision=abcd1234 --maven-repo-files=<An absolute or a relative path pointing to the local archive file that contains a maven repository>
      Note

      For more information about additional command options use the help command.

  3. Restart your JBoss EAP server to complete the revert process:

    Note

    You must ensure that no other processes are launched from the JBOSS_EAP/bin folder, such as JBOSS_EAP/bin/jconsole.sh and JBOSS_EAP/bin/appclient.sh, when restarting the server with the --perform-installation option. This precaution prevents conflicts in writing files that might be in use by other processes during the server’s revert.

    1. Restart your JBoss EAP server in a stand-alone server:

      [standalone@localhost:9990 /] shutdown --perform-installation
    2. Restart your JBoss EAP server in a managed domain:

      [domain@localhost:9990 /] shutdown --host=target-host --perform-installation

Chapter 8. Cleaning the installer

Using the JBoss EAP Management CLI, you have the capability to discard a candidate server that has been prepared using update or revert commands.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. Clean the JBoss EAP server:

    1. Clean the installer in a stand-alone server:

      [standalone@localhost:9990 /] installer clean
    2. Clean the installer in a managed domain:

      [domain@localhost:9990 /] installer clean --host=target-host

Chapter 9. Managing your installation manager configurations using the Management CLI

The Management CLI enables you to manage your installation manager configuration. You can perform actions like viewing channels, subscribing, and unsubscribing from channels. For more information about managing channels on JBoss EAP 8.0 see JBoss EAP channels in the Installation guide.

9.1. Listing subscribed channels

The following example describes how to use the Management CLI to list all the channels you are subscribed to in a stand-alone server and managed domain.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. List subscribed channels in your JBoss EAP server:

    1. List channels in a stand-alone server:

      [standalone@localhost:9990 /] installer channel-list
    2. List channels in a managed domain:

      [domain@localhost:9990 /] installer channel-list --host=target-host

9.2. Subscribing to a channel

The following example describes how to use the Management CLI to subscribe to a channel in a stand-alone server and a managed domain.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. Subscribe to a channel:

    1. Subscribe to a channel in stand-alone server:

      [standalone@localhost:9990 /] installer channel-add --channel-name=test-channel --manifest=org.test:test-manifest --repositories=mrrc::https://maven.repository.redhat.com
    2. Subscribe to a channel in a managed domain:

      [domain@localhost:9990 /] installer channel-add --host=target-host --channel-name=test-channel --manifest=org.test:test-manifest --repositories=mrrc::https://maven.repository.redhat.com

9.3. Unsubscribing from a channel

The following example describes how to use the Management CLI to unsubscribe from a channel in a stand-alone server and a managed domain.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. Unsubscribe to a channel:

    1. Unsubscribe to a channel in a stand-alone server:

      [standalone@localhost:9990 /] installer channel-remove --channel-name=test-channel
    2. Unsubscribe to a channel in a managed domain:

      [domain@localhost:9990 /] installer channel-remove --host=target-host --channel-name=test-channel

9.4. Editing a channel subscription

The following example describes editing a channel subscription using the Management CLI.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. Edit a channel subscription in JBoss EAP:

    1. Edit a channel subscription in a stand-alone server:

      [standalone@localhost:9990 /] installer channel-edit
      --channel-name=channel-name --manifest=org.new.test:org.new.test-manifest
      --repositories=mrrc::https://maven.repository.redhat.com ,mvncentral::https://repo.maven.apache.org/maven2/
    2. Edit a channel subscription in a managed domain:

      [domain@localhost:9990 /] installer channel-edit
      --host=target-host
      --channel-name=channel-name --manifest=org.new.test:org.new.test-manifest --repositories=mrrc::https://maven.repository.redhat.com ,mvncentral::https://repo.maven.apache.org/maven2/

9.5. Exporting a server snapshot

You can export the installation manager configuration used by your JBoss EAP server to an archive file. This file can be used to recreate the same server configuration using the jboss-eap-installation-manager tool. This feature ensures easy replication of your server setup in other environments. For information see exporting a server snapshot using the jboss-eap-installation-manager.

One compelling use case for this capability is when you encounter a technical issue and need to seek support from the JBoss EAP team. By sharing the exported archive file with the support team, they can recreate your server configuration precisely as it is in your environment. This ensures that the support team can replicate the issue you are facing and provide targeted assistance, ultimately expediting the resolution process. You can also provide more details about your environment by following the steps in the JDR tool documentation.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
  2. Export a server snapshot:

    1. Export a server snapshot in a stand-alone server:

      standalone@localhost:9990 /] attachment save --operation=/core-service=installer:clone-export()
    2. Export a server snapshot in a managed domain:

      [domain@localhost:9990 /] attachment save --operation=/host=target-host/core-service=installer:clone-export()

Chapter 10. Updating your JBoss EAP server using the web console

As a system administrator you can update your JBoss EAP installation using the web console. The JBoss EAP web console also allows you to perform other operations such as, viewing the history of your updates, reverting JBoss EAP updates to a previous version, and managing channels.

10.1. Prerequisites

  • You may need access to the internet.
  • You have created an account on the Red Hat Customer Portal and are logged in.
  • You have installed JBoss EAP using any of the installation methods. For more information see JBoss EAP installation methods.

10.2. Updating JBoss EAP online using the web console

JBoss EAP has periodic releases that contain bug and security fixes, you can use the JBoss EAP web console to keep your installation up-to-date.

Procedure

  1. Open the JBoss EAP web console.
  2. Navigate to the top menu and click Update Manager.
  3. Click Updates.
  4. Click on the Update icon and click Online Updates to list the updates.

    Updating your JBoss EAP installation using the web console
  5. Click Next to prepare server candidate
  6. Click Next to apply update
  7. Click Finish to complete the update

Verification

  • Click on the refresh icon to verify that the update was applied successfully.

10.3. Updating JBoss EAP offline using the web console

JBoss EAP has periodic releases that contain bug and security fixes, you can use the JBoss EAP web console to keep your installation up-to-date using a local archive file.

Note

Internet access is not required to update your JBoss EAP 8.0 installation offline using the web console.

Procedure

  1. Open the JBoss EAP web console.
  2. Navigate to the top menu and click Update Manager.
  3. Click Updates.
  4. Click on the Update icon and click Offline Updates to upload the archive.

    Updating your JBoss EAP installation offline using the web console
  5. Choose archive file and click Next.
  6. Click Next to prepare server candidate.
  7. Click Next to apply update.
  8. Click Finish to complete the update.

Verification

  • Click on the refresh icon to verify that the update was applied successfully.

10.4. Viewing JBoss EAP installation history using the web console

Use the JBoss EAP web console to view the complete history of updates applied to your JBoss EAP installation.

Procedure

  1. Open the JBoss EAP web console.
  2. Navigate to the top menu and click Update Manager.
  3. Click Updates.

Verification

  • In the Updates column, verify that you can see a list of all updates that has been applied on your JBoss EAP installation.

10.5. Reverting to a previous version of JBoss EAP using the web console

Use the JBoss EAP web console to revert your JBoss EAP installation to a previous update version.

Procedure

  1. Open the JBoss EAP web console.
  2. Click Update Manager in the top menu.
  3. Click Updates.
  4. In the Updates column, select the appropriate JBoss EAP version you want to revert to.
  5. Click Revert.

    Reverting to a previous version of JBoss EAP using the web console
  6. Click Next to prepare server candidate.
  7. Click Next to apply update.
  8. Click Finish to complete the update.

Verification

  • In the Updates column, you will see that your installation has been reverted.

10.6. Managing channels using the web console

Use the JBoss EAP 8.0 web console to manage channels by enabling direct addition, removal and editing of channels through its interface.

10.6.1. Adding a channel using the web console

You can add or subscribe to a channel using the JBoss EAP 8.0 web console.

Procedure

  1. Add a channel:

    1. Open the JBoss EAP web console.
    2. Click Update Manager in the top menu.
    3. Click Channels.
    4. Click on the + symbol.
    5. Enter the channel details and click Add.

      Adding a channel using the web console

10.6.2. Removing a channel using the web console

You can remove or unsubscribe from a channel using the JBoss EAP 8.0 web console.

Procedure

  1. Remove a channel:

    1. Open the JBoss EAP web console.
    2. Click Update Manager in the top menu.
    3. Click Channels.
    4. In the Channels column click on the Channel, you will be prompted to unsubscribe, click Yes

      unsubscribing from a channel using the web console

10.6.3. Editing a channel using the web console

You can edit a channel using the web console using the JBoss EAP 8.0 web console.

Procedure

  1. Edit a channel:

    1. Open the JBoss EAP web console.
    2. Click Update Manager in the top menu.
    3. Click Channels.
    4. In the Channels column click on the Channel.
    5. Click on view on your desired channels.
    6. Click Edit to edit your channel.
    7. Click Save.

      editing a channel using the webconsole

Chapter 11. Updating an RPM installation

Before updating your current JBoss EAP instance by using the RPM installation method, check that your system meets certain setup prerequisites.

Prerequisites

  • You installed JBoss EAP server using RPM installation method.
  • The base operating system is up to date, and you get updates from the standard Red Hat Enterprise Linux repositories.
  • You are subscribed to the relevant JBoss EAP repository for the update.

    • If you are subscribed to a previous minor JBoss EAP repository, you have changed to the latest minor repository to get the update.
Important

For a managed domain, update the JBoss EAP domain controller before you update to a newer release of JBoss EAP.

An updated JBoss EAP 8.0 domain controller can still manage other JBoss EAP 8.0 hosts in a managed domain, as long as the domain controller is running the same or more recent version than the rest of the domain.

Procedure

  1. Update your current JBoss EAP version to the newer JBoss EAP version by issuing the following command in your terminal:

    # dnf update
  2. Enable new features in the updated release, such as new subsystems, by manually merging each .rpmnew file into your existing configuration files. The RPM update process does not replace any of your modified JBoss EAP configuration files, but it creates .rpmnew files based on the default configuration of your updated JBoss EAP instance.

Additional resources

Legal Notice

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.