Este conteúdo não está disponível no idioma selecionado.
Chapter 1. JBoss EAP XP for the latest MicroProfile capabilities
1.1. Installing JBoss EAP XP 5.0 without a pre-existing JBoss EAP 8.0 server Copiar o linkLink copiado para a área de transferência!
If you want to install JBoss EAP XP 5.0 without first pre-installing JBoss EAP 8.0 server, follow the procedure below.
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.
Use jboss-eap-installation-manager from Update 02 or later. Download the correct version from the JBoss EAP 8.0 patches page on the Red Hat Customer Portal, or update an existing installation by running the following command:
./bin/jboss-eap-installation-manager.sh update perform --self
./bin/jboss-eap-installation-manager.sh update perform --self
Verify the version of your installation manager by running the following command:
./bin/jboss-eap-installation-manager.sh --version
./bin/jboss-eap-installation-manager.sh --version
Procedure
-
Open the terminal emulator and navigate to the
jboss-eap-installation-managerdirectory. Install JBoss EAP XP by running the following command from the
jboss-eap-installation-managerdirectory :./bin/jboss-eap-installation-manager.sh install --profile eap-xp-5.0 --dir eap-xp-5
./bin/jboss-eap-installation-manager.sh install --profile eap-xp-5.0 --dir eap-xp-5Copy to Clipboard Copied! Toggle word wrap Toggle overflow
1.2. Adding JBoss EAP XP 5.0 feature packs to an existing JBoss EAP 8.0 installation Copiar o linkLink copiado para a área de transferência!
You can add an additional JBoss EAP XP 5.0 feature pack to an existing JBoss EAP installation using the jboss-eap-installation-manager.
Prerequisites
- You have an account on the Red Hat Customer Portal and are logged in.
- You have reviewed the supported configurations for JBoss EAP XP 5.0.
- You have installed a supported JDK.
-
You have downloaded the
jboss-eap-installation-manager. For more information about downloadingjboss-eap-installation-manager, see the Installation Guide. - You have downloaded or installed JBoss EAP 8.0 using one of the supported methods. For more information about downloading JBoss EAP, see the Installation Guide.
Installing the JBoss EAP XP extension will automatically perform a server update to receive the latest component updates.
Procedure
-
Open the terminal emulator and navigate to the
jboss-eap-installation-managerdirectory. Run this script from the
jboss-eap-installation-managerdirectory to subscribe the server to the JBoss EAP XP channel by executing:./bin/jboss-eap-installation-manager.sh channel add \ --channel-name eap-xp-5.0 \ --repositories=mrrc-ga::https://maven.repository.redhat.com/ga \ --manifest org.jboss.eap.channels:eap-xp-5.0 \ --dir eap-xp-5.0
./bin/jboss-eap-installation-manager.sh channel add \ --channel-name eap-xp-5.0 \ --repositories=mrrc-ga::https://maven.repository.redhat.com/ga \ --manifest org.jboss.eap.channels:eap-xp-5.0 \ --dir eap-xp-5.0Copy to Clipboard Copied! Toggle word wrap Toggle overflow Install JBoss EAP XP extension by executing:
./bin/jboss-eap-installation-manager.sh feature-pack add \ --fpl org.jboss.eap.xp:wildfly-galleon-pack \ --dir eap-xp-5.0
./bin/jboss-eap-installation-manager.sh feature-pack add \ --fpl org.jboss.eap.xp:wildfly-galleon-pack \ --dir eap-xp-5.0Copy to Clipboard Copied! Toggle word wrap Toggle overflow
1.3. Adding JBoss EAP XP 5.0 feature packs to an existing JBoss EAP 8.0 installation offline Copiar o linkLink copiado para a área de transferência!
You can add additional JBoss EAP XP 5.0 feature pack to an existing JBoss EAP installation offline using the jboss-eap-installation-manager.
Prerequisites
- You have reviewed the supported configurations for JBoss EAP XP 5.0.
- You have installed a supported JDK.
-
You have downloaded the
jboss-eap-installation-manager. For more information about downloadingjboss-eap-installation-manager, see the Installation Guide. - You have downloaded or installed JBoss EAP 8.0 using one of the supported methods. For more information about downloading JBoss EAP, see the Installation Guide.
- You have downloaded and extracted the latest offline repositories for JBoss EAP 8.0 and JBoss EAP XP 5.0.
Procedure
-
Open the terminal emulator and navigate to the
jboss-eap-installation-managerdirectory. -
Run this script from the
jboss-eap-installation-managerdirectory to subscribe the server to the JBoss EAP XP channel by executing:
./bin/jboss-eap-installation-manager.sh channel add \ --channel-name eap-xp-5.0 \ --repositories=mrrc-ga::https://maven.repository.redhat.com/ga \ --manifest org.jboss.eap.channels:eap-xp-5.0 \ --dir eap-xp-5.0
./bin/jboss-eap-installation-manager.sh channel add \
--channel-name eap-xp-5.0 \
--repositories=mrrc-ga::https://maven.repository.redhat.com/ga \
--manifest org.jboss.eap.channels:eap-xp-5.0 \
--dir eap-xp-5.0
-
Install JBoss EAP XP and use the
--repositories parameterto specify the offline repositories:
./bin/jboss-eap-installation-manager.sh feature-pack add \ --fpl org.jboss.eap.xp:wildfly-galleon-pack \ --dir eap-xp-5.0 \ --repositories <JBOSS_EAP_XP_OFFLINE_REPO_PATH>,<JBOSS_EAP_8.0_OFFLINE_REPO_PATH>
./bin/jboss-eap-installation-manager.sh feature-pack add \
--fpl org.jboss.eap.xp:wildfly-galleon-pack \
--dir eap-xp-5.0 \
--repositories <JBOSS_EAP_XP_OFFLINE_REPO_PATH>,<JBOSS_EAP_8.0_OFFLINE_REPO_PATH>
The feature pack will be added to the JBoss EAP installation passed in the --dir option.
1.4. Updating JBoss EAP XP installation using the jboss-eap-installation-manager Copiar o linkLink copiado para a área de transferência!
You can update JBoss EAP XP periodically if new updates are available after you have downloaded and installed it.
Prerequisites
- You have access to the internet.
- You have installed a supported JDK.
-
You have downloaded the
jboss-eap-installation-manager. For more information about downloadingjboss-eap-installation-manager, see the Installation Guide. - You have downloaded or installed JBoss EAP 8.0 using one of the supported methods. For more information about downloading JBoss EAP, see the Installation Guide.
Procedure
-
Extract the
jboss-eap-installation-manageryou have downloaded. -
Open the terminal emulator and navigate to the
jboss-eap-installation-managerdirectory you have extracted. Run this script from the
jboss-eap-installation-managerdirectory to check for available updates:./bin/jboss-eap-installation-manager.sh update list --dir eap-xp-5.0
./bin/jboss-eap-installation-manager.sh update list --dir eap-xp-5.0Copy to Clipboard Copied! Toggle word wrap Toggle overflow Update JBoss EAP by running the following command:
Syntax
./bin/jboss-eap-installation-manager.sh update perform --dir eap-xp-5.0
./bin/jboss-eap-installation-manager.sh update perform --dir eap-xp-5.0Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example
./bin/jboss-eap-installation-manager.sh update perform --dir eap-xp-5.0 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
./bin/jboss-eap-installation-manager.sh update perform --dir eap-xp-5.0 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-00001Copy to Clipboard Copied! Toggle word wrap Toggle overflow
1.5. Updating JBoss EAP XP installation offline using the jboss-eap-installation-manager Copiar o linkLink copiado para a área de transferência!
You can use the jboss-eap-installation-manager to update the JBoss EAP XP 5.0 installation offline.
Prerequisites
- You have installed a supported JDK.
-
You have downloaded the
jboss-eap-installation-manager. For more information about downloadingjboss-eap-installation-manager, see the Installation Guide. - You have downloaded or installed JBoss EAP 8.0 using one of the supported methods. For more information about downloading JBoss EAP, see the Installation Guide.
- You have downloaded and extracted the latest offline repositories for JBoss EAP 8.0 and JBoss EAP XP 5.0.
Procedure
- Stop the JBoss EAP server.
-
Open the terminal emulator and navigate to the
jboss-eap-installation-managerdirectory. Run this script from the
jboss-eap-installation-managerdirectory to update the server components:./bin/jboss-eap-installation-manager.sh update perform \ --dir eap-xp-5.0 \ --repositories <JBOSS_EAP_XP_OFFLINE_REPO_PATH>,<FEATURE_PACK_OFFLINE_REPO>,<JBOSS_EAP_8.0_OFFLINE_REPO_PATH>
./bin/jboss-eap-installation-manager.sh update perform \ --dir eap-xp-5.0 \ --repositories <JBOSS_EAP_XP_OFFLINE_REPO_PATH>,<FEATURE_PACK_OFFLINE_REPO>,<JBOSS_EAP_8.0_OFFLINE_REPO_PATH>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources
- For more information about how you can perform a two phase update operation offline see Updating feature packs on an offline JBoss EAP server.
1.6. Reverting your JBoss EAP XP server to JBoss EAP Copiar o linkLink copiado para a área de transferência!
You can use the jboss-eap-installation-manager to revert your JBoss EAP XP installation.
Prerequisites
- You have access to the internet.
- You have installed a supported JDK.
-
You have downloaded the
jboss-eap-installation-manager. For more information about downloadingjboss-eap-installation-manager, see the Installation Guide. - You have downloaded or installed JBoss EAP 8.0 using one of the supported methods. For more information about downloading JBoss EAP, see the Installation Guide.
Procedure
-
Open the terminal emulator and navigate to the
jboss-eap-installation-managerdirectory. Run this script from the
jboss-eap-installation-managerdirectory to investigate the history of all feature packs added to your JBoss EAP XP server:./bin/jboss-eap-installation-manager.sh history --dir eap-xp-5.0
./bin/jboss-eap-installation-manager.sh history --dir eap-xp-5.0Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Stop the JBoss EAP XP server.
Revert your to a version before JBoss EAP XP extension has been added:
./bin/jboss-eap-installation-manager.sh revert perform \ --revision <REVISION_HASH> \ --dir eap-xp-5.0
./bin/jboss-eap-installation-manager.sh revert perform \ --revision <REVISION_HASH> \ --dir eap-xp-5.0Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources
- For more information about how you can perform a two phase revert operation see Reverting installed feature packs