Installation on JBoss EAP
Install JBoss Fuse 6.3 on JBoss EAP 6.4
Copyright © 2011-2017 Red Hat, Inc. and/or its affiliates.
Abstract
Chapter 1. Installation Guide Overview
Structure of Red Hat JBoss Fuse 6.3
| Installation Type | Components | Prerequisite Packages |
|---|---|---|
| JBoss Fuse on Karaf | jboss-fuse-karaf-6.3.0.redhat-187
Optional packages:
|
None
|
|
JBoss Fuse on JBoss EAP
| fuse-eap-installer-6.3.0.redhat-187
Optional packages:
| JBoss EAP 6.4 |
Contents of JBoss Fuse Packages
The packages for JBoss Fuse contain discrete sets of functionality. The base package for the chosen platform is mandatory but the additional packages are optional.
| Package Name | Contents |
|---|---|
jboss-fuse-karaf-6.3.0.redhat-187
|
|
fuse-eap-installer-6.3.0.redhat-187
|
|
| Integration Pack | Contains integration components and quickstarts to enable integration of JBoss Fuse components with other products that are not part of JBoss Fuse. |
| JON Pack | Red Hat JBoss Operations Network plug-ins package. |
Chapter 2. Read Me
2.1. Back Up Your Data
2.2. Red Hat Documentation Site
2.3. EAP_HOME
EAP_HOME refers to the root directory of the Red Hat JBoss Enterprise Application Platform installation on which JBoss Fuse is deployed.
2.4. MODE
MODE refers to the mode that your instance of JBoss EAP is running in. MODE will either be standalone or domain. For more information about MODE see JBoss EAP Operating Modes. Substitute either standalone or domain whenever you see MODE in a file path in this documentation.
Chapter 3. Install JBoss Fuse on JBoss EAP
Prerequisites
Install JBoss Fuse using Installer
- Download the Red Hat JBoss Fuse 6.3.0 on EAP Installer:
- Browse to the JBoss Fuse Software Downloads page on the Red Hat Customer Portal and, when prompted, login to your customer account.
- Select version
6.3.0from the Version dropdown menu and click theDownloadlink for the Red Hat JBoss Fuse 6.3.0 on EAP Installer package.
- Navigate to $EAP_HOME of a clean instance of JBoss EAP.
- Run the downloaded installer with the following command:
java -jar TEMP_LOCATION/fuse-eap-installer-6.3.0.redhat-187.jar
Installing Red Hat JBoss Development Tools
Chapter 4. Start and Stop the Application Server
4.1. Start JBoss EAP 6
Summary
This topic covers the steps to start JBoss EAP 6.4.
Procedure 4.1. Start the Platform Service as a Standalone Server
For Red Hat Enterprise Linux.
Run the command: EAP_HOME/bin/standalone.shFor Microsoft Windows Server.
Run the command: EAP_HOME\bin\standalone.batOptional: Specify additional parameters.
To print a list of additional parameters to pass to the start-up scripts, use the-hparameter.
Procedure 4.2. Start the Platform Service as a Domain Server
For Red Hat Enterprise Linux.
Run the command: EAP_HOME/bin/domain.shFor Microsoft Windows Server.
Run the command: EAP_HOME\bin\domain.batOptional: Specify additional parameters.
To print a list of additional parameters to pass to the start-up scripts, use the-hparameter.
4.2. Stop JBoss EAP 6.4
Stop JBoss EAPl using the Management CLI.
- Run the EAP_HOME/bin/jboss-cli.sh command to launch the Management CLI.
$ EAP_HOME/bin/jboss-cli.sh
- Run the connect command to connect to the server.
[disconnected /] connect
- Run the shutdown command to stop the server.
[standalone@localhost:9999 /] shutdown
- Run the quit command to close the Management CLI.
[standalone@localhost:9999 /] quit
Stop JBoss Enterprise Application Platform in terminal window.
Navigate to the terminal where JBoss EAP is running. Press Ctrl+C.
Chapter 5. Patching Fuse on JBoss EAP
5.1. How to apply a patch to Fuse on JBoss EAP
- Browse to the JBoss Fuse Software Downloads page on the Red Hat Customer Portal and, when prompted, log in to your customer account.
- Select version
6.3from the Version dropdown menu. - Search under the Patches tab and the Security Advisories tab for the latest package of the form
Red Hat JBoss Fuse 6.3 Rollup X on EAP, whereXis the number of the rollup patch. - Download the patch file,
fuse-eap-installer-6.3.0.redhat-XXX.jar, toTEMP_LOCATION. - Open a shell prompt and change directory to the
$JBOSS_HOMEdirectory of the existing installation of Fuse on JBoss EAP that you want to patch. - From the shell prompt, enter the following command to patch the installation of Fuse on JBoss EAP (replacing the file name with the actual file name of the downloaded patch):
java -jar TEMP_LOCATION/fuse-eap-installer-6.3.0.redhat-XXX.jar
Appendix A. Red Hat JBoss Fuse Maven Repositories
Abstract
settings.xml file, where required artifacts are located.
A.1. Maven Repositories
- JBoss Fuse repositoryProvides access to the artifacts in the Red Hat Maven repository. This repository is required:
https://maven.repository.redhat.com/ga - JBoss Fuse early access repositoryProvides access to the artifacts in the Red Hat Maven repository for early access releases. This repository is optional:
https://maven.repository.redhat.com/earlyaccess/all
Appendix B. Verify Your Red Hat JBoss Fuse Installation
- Start the JBoss EAP server by running standalone.sh command
- Open the
server.logfile to check if any error messages have been logged and that SwitchYard (and other component subsystems) have loaded correctly - Open the Fuse Management Console (http://localhost:8080/hawtio) in a browser. Sign in using the administrative user that you set up on the JBoss EAP installer. If the Fuse Management Console runs and you can log in then the installation has been successful.
Add a User ID to Fuse on JBoss Fuse on JBoss EAP
add-user utility script provided with JBoss EAP.
- Navigate to
$EAP_HOME/bin. - Run the
add-userutility script. - Press ENTER to select the default option a to add a management user. All the defaults can be selected by pressing ENTER.
- Enter a User ID and password. Repeat the password.
- Enter yes to indicate that you want to add the new userid to the Management Realm.
- Enter no to indicate that the new userid is not for a remote connection of any kind.
[userid@localhost bin] $ ./add-user.sh
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a):
Enter the details of the new user to add.
Realm (ManagementRealm) :
Username : manageuser
Password requirements are listed below. To modify these restrictions edit the add-user.properties configuration file.
- The password must not be one of the following restricted values {root, admin, administrator}
- The password must contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
- The password must be different from the username
Password :
Re-enter Password :
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[ ]:
About to add user 'manageuser' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user 'manageuser' to file '$EAP_HOME/standalone/configuration/mgmt-users.properties'
Added user 'manageuser' to file '$EAP_HOME/domain/configuration/mgmt-users.properties'
Added user 'manageuser' with groups to file '$EAP_HOME/standalone/configuration/mgmt-groups.properties'
Added user 'manageuser' with groups to file '$EAP_HOME/domain/configuration/mgmt-groups.properties'
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
yes/no? noLegal Notice
Trademark Disclaimer
