Search

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

download PDF

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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.