Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

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

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.