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
- Stop the JBoss EAP server.
-
Open the terminal emulator and navigate to the directory containing the downloaded
jboss-eap-installation-manager
. 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
- Stop the JBoss EAP server.
-
Open the terminal emulator and navigate to the directory containing the downloaded
jboss-eap-installation-manager
. 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.
- 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
-
Open the terminal emulator and navigate to the directory containing
jboss-eap-installation-manager
. Update the subscribed custom channels in the
manifest.yaml
file with the new version ofmyfaces
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
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
- Stop the JBoss EAP server.
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.