Este contenido no está disponible en el idioma seleccionado.
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 Copiar enlaceEnlace copiado en el portapapeles!
You can use the jboss-eap-installation-manager to update Feature Packs on your JBoss EAP server installation.
Prerequisites
-
The
jboss-eap-installation-manageris present on your system. Your JBoss EAP installation has a feature pack installed on it.
NoteIf you do not have
jboss-eap-installation-manageravailable, you can download it from the Red Hat Customer Portal.
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 Copiar enlaceEnlace copiado en el portapapeles!
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.1 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 Copiar enlaceEnlace copiado en el portapapeles!
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.1.
- You have installed a supported JDK.
The
jboss-eap-installation-manageris present on your system.NoteIf you do not have
jboss-eap-installation-manageravailable, you can download it from the Red Hat Customer Portal.
Procedure
-
Open the terminal emulator and navigate to the directory containing
jboss-eap-installation-manager. Update the subscribed custom channels in the
manifest.yamlfile with the new version ofmyfacesartifacts: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.1Deploy 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.