Professional Documents
Culture Documents
Platform 6.2
Installation Guide
Nidhi Chaudhary
Sande Gilda
Darrin Mison
Misty Stanley-Jones
Lucas Costi
Vikram Goyal
Scott Mumford
Keerat Verma
Russell Dickenson
Eamon Logue
David Ryan
Tom Wells
Nidhi Chaudhary
Lucas Co sti
Russell Dickenso n
Sande Gilda
Vikram Go yal
Eamo n Lo gue
Darrin Miso n
Sco tt Mumfo rd
David Ryan
Misty Stanley-Jo nes
Keerat Verma
To m Wells
Legal Notice
Copyright 2014 Red Hat, Inc..
T his document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported
License. If you distribute this document, or a modified version of it, you must provide attribution to Red
Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be
removed.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section
4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo,
and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux is the registered trademark of Linus T orvalds in the United States and other countries.
Java is a registered trademark of Oracle and/or its affiliates.
XFS is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States
and/or other countries.
MySQL is a registered trademark of MySQL AB in the United States, the European Union and other
countries.
Node.js is an official trademark of Joyent. Red Hat Software Collections is not formally related to or
endorsed by the official Joyent Node.js open source or commercial project.
T he OpenStack Word Mark and OpenStack Logo are either registered trademarks/service marks or
trademarks/service marks of the OpenStack Foundation, in the United States and other countries and
are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or
sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Abstract
T his book is a guide to the installation of Red Hat JBoss Enterprise Application Platform 6 and its patch
releases.
Table of Contents
Table of Contents
.Preface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4. . . . . . . . . .
1. Document Conventions
4
1.1. T ypographic Conventions
4
1.2. Pull-quote Conventions
5
1.3. Notes and Warnings
6
2. Getting Help and Giving Feedback
6
2.1. Do You Need Help?
6
2.2. Give us Feedback
7
.Chapter
. . . . . . . . 1.
. . .Product
. . . . . . . . .Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8. . . . . . . . . .
1.1. About Red Hat JBoss Enterprise Application Platform 6 (JBoss EAP 6)
8
1.2. Features of JBoss EAP 6
8
.Chapter
. . . . . . . . 2.
. . .Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
............
2.1. About the Red Hat Customer Portal
10
.Chapter
. . . . . . . . 3.
. . .System
. . . . . . . .Requirements
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
............
3.1. JBoss EAP 6 Installation Prerequisites
11
.Chapter
........4
. ...Install
. . . . . . .Instructions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
............
4.1. JBoss EAP 6 Installation Methods
12
4.2. Z ip Installation
12
4.2.1. Download JBoss EAP 6 (Z ip Installation)
12
4.2.2. Install JBoss EAP 6 (Z ip Installation)
13
4.2.3. Uninstall JBoss EAP 6 (Z ip Installation)
13
4.3. Installer
14
4.3.1. Download JBoss EAP 6 (Installer)
14
4.3.2. Run the JBoss Enterprise Application Platform Installer
15
4.3.3. Uninstall JBoss EAP 6 (Installer)
18
4.4. Graphical RPM Installation
19
4.4.1. Install JBoss EAP 6 (Graphical RPM Installation)
19
4.5. T ext-based RPM Installation
20
4.5.1. Install JBoss EAP 6 (T ext-based RPM Installation)
20
4.6. Automated Installation
20
4.6.1. Install Multiple Instances of JBoss EAP 6 (Installer)
20
4.7. Service Configuration
21
4.7.1. Configure JBoss EAP 6 as a Service in Red Hat Enterprise Linux (RPM Method)
21
4.7.2. Configure JBoss EAP 6 as a Service in Red Hat Enterprise Linux (Z ip, Installer)
22
4.7.3. Configure JBoss EAP 6 as a Service in Microsoft Windows Server (Z ip, Installer)
23
.Chapter
. . . . . . . . 5.
. . .Patching
. . . . . . . . . .and
. . . .Upgrading
. . . . . . . . . . . JBoss
. . . . . . .EAP
. . . . .6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
............
5.1. About Patches and Upgrades
26
5.2. Patch Installation
26
5.2.1. About Patching Mechanisms
26
5.2.2. Subscribe to Patch Mailing Lists
27
5.2.3. Install Patches in Z ip Form
27
5.2.3.1. T he patch Command
27
5.2.3.2. Installing Patches in Z ip Form Using the patch Command
28
5.2.3.3. Rollback the Application of a Patch in Z ip Form Using the patch Command
29
5.2.4. Install Patches in RPM form
31
5.2.5. Severity and Impact Rating of JBoss Security Patches
32
5.3. Upgrade Instructions
34
5.3.1. Upgrade the JBoss EAP 6 Z IP Installation
34
35
36
.Reference
. . . . . . . . . . .Material
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
...........
A.1. Available Downloads for JBoss EAP 6
38
A.2. Directory Structure of JBoss EAP 6
40
A.3. RPM Package List for JBoss EAP 6
42
A.4. RPM Installation Configuration Files for JBoss EAP 6
43
.Installer
. . . . . . . . Screenshots
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4. .5. . . . . . . . . .
B.1. Language Selection
45
B.2. End User License Agreement
45
B.3. Installation Path
46
B.4. Administrative User Creation
47
B.5. Quickstart Installation
48
B.6. JDK Setup
49
B.7. Maven Repository Setup
50
B.8. Pack Installation
51
B.9. Socket Binding Setup
52
B.10. Socket Bindings (Standalone) Configuration
53
B.11. Socket Bindings (Domain) Configuration
54
B.12. Socket Bindings (ha-domain) Configuration
55
B.13. Socket Bindings (full-domain) Configuration
56
B.14. Socket Bindings (full-ha-domain) Configuration
57
. . . . . . . . . .History
Revision
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
............
Table of Contents
Preface
1. Document Conventions
T his manual uses several conventions to highlight certain words and phrases and draw attention to
specific pieces of information.
In PDF and paper editions, this manual uses typefaces drawn from the Liberation Fonts set. T he
Liberation Fonts set is also used in HT ML editions if the set is installed on your system. If not, alternative
but equivalent typefaces are displayed. Note: Red Hat Enterprise Linux 5 and later include the Liberation
Fonts set by default.
Preface
Character Map from the main menu bar. Next, choose Search Find from the
Character Map menu bar, type the name of the character in the Search field and click
Next. T he character you sought will be highlighted in the Character T able. Double-click
this highlighted character to place it in the T ext to copy field and then click the Copy
button. Now switch back to your document and choose Edit Paste from the gedit menu
bar.
T he above text includes application names; system-wide menu names and items; application-specific
menu names; and buttons and text found within a GUI interface, all presented in proportional bold and all
distinguishable by context.
Mono-spaced Bold Italic or Proportional Bold Italic
Whether mono-spaced bold or proportional bold, the addition of italics indicates replaceable or variable
text. Italics denotes text you do not input literally or displayed text that changes depending on
circumstance. For example:
T o connect to a remote machine using ssh, type ssh username@ domain.name at a shell
prompt. If the remote machine is exam ple.com and your username on that machine is
john, type ssh john@ exam ple.com .
T he m ount -o rem ount file-system command remounts the named file system. For
example, to remount the /hom e file system, the command is m ount -o rem ount /hom e.
T o see the version of a currently installed package, use the rpm -q package command. It
will return a result as follows: package-version-release.
Note the words in bold italics above: username, domain.name, file-system, package, version and release.
Each word is a placeholder, either for text you enter when issuing a command or for text displayed by
the system.
Aside from standard usage for presenting the title of a work, italics denotes the first use of a new and
important term. For example:
Publican is a DocBook publishing system.
Desktop
Desktop1
documentation
downloads
drafts
images
mss
notes
photos
scripts
stuff
svgs
svn
Source-code listings are also set in m ono-spaced rom an but add syntax highlighting as follows:
package org.jboss.book.jca.ex1;
import javax.naming.InitialContext;
public class ExClient
{
public static void main(String args[])
throws Exception
{
InitialContext iniCtx = new InitialContext();
Object
ref
= iniCtx.lookup("EchoBean");
EchoHome
home
= (EchoHome) ref;
Echo
echo
= home.create();
System.out.println("Created Echo");
System.out.println("Echo.echo('Hello') = " + echo.echo("Hello"));
}
}
Note
Notes are tips, shortcuts or alternative approaches to the task at hand. Ignoring a note should
have no negative consequences, but you might miss out on a trick that makes your life easier.
Important
Important boxes detail things that are easily missed: configuration changes that only apply to the
current session, or services that need restarting before an update will apply. Ignoring a box
labeled Important will not cause data loss but may cause irritation and frustration.
Warning
Warnings should not be ignored. Ignoring warnings will most likely cause data loss.
Preface
Red Hat also hosts a large number of electronic mailing lists for discussion of Red Hat software and
technology. You can find a list of publicly available mailing lists at https://www.redhat.com/mailman/listinfo.
Click on the name of any mailing list to subscribe to that list or to access the list archives.
Additional information:
Be sure to give us your name so that you can receive full credit for reporting the issue.
Description
Java Certification
Managed Domain
Report a bug
Chapter 2. Introduction
2.1. About the Red Hat Customer Portal
T he Red Hat Customer Portal is the centralized platform for Red Hat knowledge and subscription
resources. Use the Red Hat Customer Portal to:
Manage and maintain Red Hat entitlements and support contracts;
Download officially-supported software;
Access product documentation and the Red Hat Knowledgebase;
Contact Global Support Services; and
File bugs against Red Hat products.
T he Customer Portal is available here: https://access.redhat.com.
Report a bug
10
Important
A Java 6 JDK is required, even if you wish to use a Java 7 JDK.
Report a bug
11
Description
Z ip Installation
JAR Installer
RPM Installation
Instructions
Section 4.2.2, Install JBoss
EAP 6 (Z ip Installation)
Report a bug
12
13
Prerequisites
Backup any modified configuration files and deployments that may be reused in a later instance.
Summary
T his section covers the steps required to uninstall a Z ip installation of JBoss EAP 6.
Procedure 4 .3. Uninstall JBoss EAP 6 (Z ip installation)
1. Go to the directory where you had extracted the JBoss EAP 6 folder from the Z ip file.
2. Delete the installation directory.
JBoss EAP 6 installs in a single directory when you use the Z ip installation method. Delete the
installation directory to uninstall JBoss EAP 6.
3. Optional: Delete any initialization scripts you created.
If you created initialization scripts or other scripts which depended upon JBoss EAP 6 being
installed on your computer, delete them.
Result
JBoss EAP 6 is uninstalled from the server.
Report a bug
4.3. Installer
4.3.1. Download JBoss EAP 6 (Installer)
Prerequisites:
Section 3.1, JBoss EAP 6 Installation Prerequisites
Summary
T he JBoss EAP 6 installer archive is available from https://access.redhat.com. T he .jar archive can be
used to run either the Graphical or T ext-based installers. T his topic covers the steps to download the
archive.
Procedure 4 .4 . Download the Installer
1. Log into https://access.redhat.com.
2. Select Downloads JBoss Enterprise Middleware Downloads menu item.
14
Figure 4 .1.
3. Select Application Platform from the Product drop-down menu that appears on the next
screen.
4. Select the Application Platform 6.1.0 Installer.
5. Click Download.
Result
JBoss EAP 6 is now downloaded to your target machine. It is ready for installation.
Next Step in Installer
Section 4.3.2, Run the JBoss Enterprise Application Platform Installer
Report a bug
B. T ext Mode
java -jar jboss-eap-6.1.1.ER4-installer.jar -console
15
Appears
Description
Reference Material
Always
N/A
Always
N/A
Always
N/A
Section B.4,
Administrative User
Creation
Always
N/A
Always
N/A
N/A
N/A
Always
N/A
16
unnecessary. T hen
click next.
Section B.9, Socket
Binding Setup
Always
N/A
If you select to
configure the default
port bindings for
standalone mode
N/A
If you select to
configure the default
port bindings for
domain mode
N/A
If you select to
configure the default
port bindings for
domain mode
N/A
If you select to
configure the default
port bindings for
domain mode
N/A
If you select to
configure the default
port bindings for
domain mode
N/A
Server Launch
Always
N/A
Result
T he installation is complete and JBoss EAP 6 is installed on your target machine.
Next Step in Installer
Section 4.3.3, Uninstall JBoss EAP 6 (Installer)
Report a bug
17
3. T he execution of the command will launch the graphical uninstaller as shown in the following
figure. Select the check box if you want to delete the JBoss EAP 6 installation directory.
18
Report a bug
in the search box and then press the Find button. You will be presented with the JBoss EAP 6
package in the result box.
3. Select the JBoss EAP 6 package and press the Apply button. See figure below.
19
4. Follow the rest of the steps to install JBoss EAP 6 on your target machine.
Result
T he installation is complete and JBoss EAP 6 is installed in your target machine.
Report a bug
20
Summary
Multiple identical instances of JBoss EAP 6 can be installed using an automated script, generated during
the installation process, using either the Graphical or T ext-based installer. T his topic covers the steps
required to install JBoss EAP 6 using a generated script.
Procedure 4 .10. Automated Installation
In a terminal, run the following command to install JBoss EAP 6 using the automated script:
java -jar jboss-eap-6.1.0-installer.jar SCRIPT_NAME.xml
Result
An identical instance of JBoss EAP 6 has been installed, based on the automatically generated script.
Report a bug
Result
JBoss EAP 6 starts automatically when the Red Hat Enterprise Linux reaches its default run-level, and
stops automatically when the operating system goes through its shutdown routine.
Report a bug
21
4.7.2. Configure JBoss EAP 6 as a Service in Red Hat Enterprise Linux (Zip,
Installer)
Prerequisites
Install JBoss EAP 6 using the Z ip installation, Graphical Installer, or T ext-based Installer:
Section 4.2.2, Install JBoss EAP 6 (Z ip Installation).
Section 4.3.2, Run the JBoss Enterprise Application Platform Installer.
Administrator privileges on the server are required.
Summary
Use the following procedure to install JBoss EAP 6 as a service on Red Hat Enterprise Linux when the
installation has been done with either the zip, text, or graphical methods. T his process does not apply
when the installation has been done using the RHN (RPM) method.
Procedure 4 .12. Setup the Service
Note
T he steps below describe running JBoss EAP 6 as a service in standalone mode. In order to run
JBoss EAP 6 as a service in domain mode, use the same steps but replace jboss-asstandalone.sh with jboss-as-dom ain.sh.
1. Locate the start-up script and configuration file
T he start-up script and an associated configuration file are located in the
EAP_HOME/bin/init.d/ directory. Open the configuration file jboss-as.conf to edit it.
2. Customize the start-up options in the jboss-as.conf file
T here are several options within the jboss-as.conf file. At the minimum, specify the correct
values for JBOSS_HOME and the JBOSS_USER variables. If these variables are absent, add them.
3. Copy files into system directories
a. Copy the modified configuration file to the /etc/jboss-as directory.
[user@host init.d]$ sudo mkdir /etc/jboss-as
[user@host init.d]$ sudo cp jboss-as.conf /etc/jboss-as/
22
If everything has gone correctly, you should get a green [OK]. If you get an error, check the error
logs and make sure your paths are correct in the configuration file.
6. Make the service start automatically when you restart your server.
T o add the service to the list of services which start automatically when your server restarts,
issue the following command.
[user@host init.d]$ sudo chkconfig jboss-as-standalone.sh on
Result
JBoss EAP 6 starts automatically when the Red Hat Enterprise Linux reaches its default run-level, and
stops automatically when the operating system goes through its shutdown routine.
Report a bug
23
Description
/controller HOST:PORT
/host [DOMAIN_HOST]
/loglevel LEVEL
T he log level for the service, either: ERROR, INFO, WARN or DEBUG. If
omitted, the default is INFO
/name SERVICE_NAME
/desc "DESCRIPTION"
/serviceuser
DOMAIN\USERNAME
Specifies the name of the account under which the service will run. Use
an account name in the format of DOMAIN\USERNAME. If omitted, the
service runs as the Local System account.
/servicepass
PASSWORD
/jbossuser USERNAME
/jbosspass PASSWORD
Below are basic examples of an install command to create a new service in either standalone
or domain mode. Execute the following command, adjusting the log level for the service as
required:
A. Standalone mode:
service.bat install /loglevel INFO
B. Domain mode:
If you are not using the default master for your JBoss EAP 6 domain controller, replace master
with the correct host name or alias of the JBoss EAP 6 domain controller.
service.bat install /host master /loglevel INFO
If the default service name was used, in the list of Windows services, the new service will have the
display name: JBoss Enterprise Application Platform 6. From the Services console
you can start and stop the service, as well change its settings on how and when it starts.
5. Starting and stopping the JBoss EAP 6 service from a terminal
T o start the service from a terminal, use the following command, changing the service name if
necessary:
24
T o stop the service from a terminal, use the following command, changing the service name if
necessary:
net stop JBossEAP6
Result
A JBoss EAP 6 service is configured in Microsoft Windows Server.
Procedure 4 .14 . Uninstall the JBoss EAP 6 service from Microsoft Windows Server
If the service is running, first open a terminal and stop the service by executing the net stop
command with the name of the service:
net stop JBossEAP6
Result
T he JBoss EAP 6 service has been removed from Microsoft Windows Server.
Report a bug
25
Important
A JBoss product installation must always only be updated using one patch method: either zip or
RPM patches.
Security updates for JBoss products are provided by an erratum (for both zip and RPM methods). T he
erratum encapsulates a list of the resolved flaws, their severity ratings, the affected products, textual
description of the flaws, and a reference to the patches. Bug fix updates are not announced via an
erratum.
For more information on how Red Hat rates JBoss security flaws, refer to: Section 5.2.5, Severity and
Impact Rating of JBoss Security Patches
26
Red Hat maintains a mailing list for notifying subscribers about security related flaws. See Section 5.2.2,
Subscribe to Patch Mailing Lists
Report a bug
Important
JBoss EAP 6 server instances which have been installed using the RPM method cannot be
updated using the patch command. Refer to Section 5.2.4, Install Patches in RPM form to
update RPM-installed JBoss EAP 6 servers.
27
Note
T he patch command can only be used with patches produced for versions of JBoss EAP 6.2
and later. For patches for versions of JBoss EAP prior to 6.2, you should instead refer to the
relevant version's documentation available at https://access.redhat.com/site/documentation/.
In addition to applying patches, the patch command can give basic information on the state of installed
patches, and also provides a way to immediately rollback the application of a patch.
Before starting a patch application or rollback operation, the patch tool will check the modules and other
miscellaneous files that it is changing for any user modifications. If a user modification is detected, and a
conflict-handling switch has not been specified, the patch tool will abort the operation and warn that
there is a conflict. T he warning will include a list of the modules and other files that are in conflict. T o
complete the operation, the patch command must be re-run with a switch specifying how to resolve the
conflict: either to preserve the user modifications, or to override them.
T able 5.1. patch Command Arguments and Switches
Argument or Switch
Description
apply
Applies a patch.
--override-all
--override-m odules
--override=path(,path)
--preserve=path(,path)
info
rollback
--reset-configuration=TRUE|FALSE
Report a bug
5.2.3.2. Installing Patches in Z ip Form Using the patch Command
Prerequisites:
Section 3.1, JBoss EAP 6 Installation Prerequisites
Summary
T his task describes how to use the patch command to install patches for JBoss EAP 6 that are in the
zip format.
28
Important
T he patch command is a feature that was added in JBoss EAP 6.2. For versions of JBoss EAP
prior to 6.2, the process to install patches in zip form is different, and you should instead refer to
the relevant version's documentation available at https://access.redhat.com/site/documentation/.
Prerequisites
Valid access and subscription to the Red Hat Customer Portal.
A current subscription to a JBoss product installed in zip format.
Access to the Management CLI for the server instance to be updated. Refer to Launch the
Management CLI in the Administration and Configuration Guide.
Procedure 5.2. Apply a zip patch to a JBoss EAP 6 server instance using the patch
command
Warning
Before installing a patch, you should backup your JBoss product along with all customized
configuration files.
1. Download the patch zip file from the Customer Portal at https://access.redhat.com/downloads/
2. From the Management CLI, apply the patch with the following command with the appropriate path
to the patch file:
[standalone@localhost:9999 /] patch apply /path/to/downloaded-patch.zip
T he patch tool will warn if there are any conflicts in attempting the apply the patch. Refer to
Section 5.2.3.1, T he patch Command for available switches to re-run the command to resolve
any conflicts.
3. Restart the JBoss EAP 6 server instance for the patch to take effect:
[standalone@localhost:9999 /] shutdown --restart=true
Result
T he JBoss EAP 6 server instance is patched with the latest update.
Report a bug
5.2.3.3. Rollback the Application of a Patch in Z ip Form Using the patch Command
Summary
T his task describes how to use the patch command to rollback the application of a previously applied
zip patch in JBoss EAP 6.
29
Warning
Rolling back the application of a patch using the patch command is not intended as a general
uninstall functionality. It is only intended to be used immediately after the application of a patch
which had undesirable consequences.
Important
T he patch command is a feature that was added in JBoss EAP 6.2. For versions of JBoss EAP
prior to 6.2, the process to rollback patches in zip form is different, and you should instead refer
to the relevant version's documentation available at
https://access.redhat.com/site/documentation/.
Prerequisites
A patch that was previously applied using the patch command.
Access to the Management CLI for the server instance. Refer to Launch the Management CLI in the
Administration and Configuration Guide.
Procedure 5.3. Rollback a patch from a JBoss EAP 6 server instance using the patch
command
1. From the Management CLI, use the patch info command to find the ID of the patch that is to be
rolled back.
A. For cumulative patches, the patch ID is the value of the first cum ulative-patch-id shown
in the patch info output.
B. One-off security or bug fix patch IDs are listed as the value of the first patches shown in the
patch info output, with the most recently applied one-off patch listed first.
2. From the Management CLI, rollback the patch with the appropriate patch ID from the previous step.
Warning
Use caution when specifying the value of the --reset-configuration switch.
If set to T RUE, the patch rollback process will also rollback the JBoss EAP 6 server
configuration files to their pre-patch state. Any changes that were made to the JBoss EAP 6
server configuration files after the patch was applied will be lost.
If set to FALSE, the server configuration files will not be rolled back. In this situation, it is
possible that the server will not start after the rollback, as the patch may have altered
configurations, such as namespaces, which may no longer be valid and have to be fixed
manually.
T he patch tool will warn if there are any conflicts in attempting the rollback the patch. Refer to
Section 5.2.3.1, T he patch Command for available switches to re-run the command to resolve
any conflicts.
3. Restart the JBoss EAP 6 server instance for the patch rollback to take effect:
30
Result
T he patch, and optionally also the server configuration files, are rolled back on the JBoss EAP 6 server
instance.
Report a bug
Warning
Before installing a patch, you must backup your JBoss product along with all customized
configuration files.
1. Get notified about the security patch either via being a subscriber to the JBoss watch mailing list
or by browsing the JBoss watch mailing list archives.
2. Read the errata for the security patch and confirm that it applies to a JBoss product in your
environment.
3. If the security patch applies to a JBoss product in your environment, then follow the link to
download the updated RPM package which is included in the errata.
4. Use
yum update
31
Important
When updating an RPM installation, your JBoss product is updated cumulatively with all
RPM-released fixes.
Result
T he JBoss product is patched with the latest update using the RPM format.
Report a bug
32
Description
Critical
Important
Moderate
Low
33
Combined with the severity rating and the CVSS score, organizations can make informed decisions on
the risk each issue places on their unique environment and schedule upgrades accordingly.
For more information about CVSS2, please see: CVSS2 Guide.
Report a bug
Warning
For managed domains, the master Host Controller (or Domain Controller) instance should be
upgraded first, before each Host Controller is upgraded.
Procedure 5.5. Upgrade to the latest JBoss EAP 6 version
1. Move the downloaded Z IP archive to the desired location. It is recommended that this is a different
location to the existing JBoss EAP 6 installation.
34
Important
If you wish to install the latest version of JBoss EAP 6 to the same directory location as the
existing installation, you will need to move the existing installation to a different location
before proceeding. T his is to prevent modified configuration files, deployments, and
upgrades from being lost.
2. Unzip the archive. T his step installs a clean instance of the latest JBoss EAP 6 release.
3. Copy the EAP_HOME/domain/ and EAP_HOME/standalone/ directories from the previous installation
over the new installation directories.
Note
New features in the new release, such as new subsystems, may not be activated if
configuration files are copied from an older JBoss EAP 6 installation. T o use these new
features, it is necessary to compare and update the old configuration files with the ones
from the new version.
4. Review the changes made to the bin directory of the previous installation, and make the
equivalent modifications to the new directory.
Warning
Files in the bin directory should not be overwritten by the files from previous versions.
Changes should be made manually.
5. Review the remaining modified files from the previous installation, and move these changes into
the new installation. T hese files may include:
T he welcom e-content directory.
Custom modules in the m odules directory.
Custom bundles in the bundles directory.
Result
T he JBoss EAP 6 Z IP installation has been successfully upgraded to the latest release.
Report a bug
35
Upgrading to the latest release of JBoss EAP 6 requires some initial work to back up the existing
installation. T his topic covers upgrading the RPM installation via the Red Hat Network (RHN).
Warning
For managed domains, the master Host Controller (or Domain Controller) instance should be
upgraded first, before each Host Controller is upgraded.
Procedure 5.6. Upgrade to the latest JBoss EAP 6 release
1. Run the following command in a terminal to upgrade the installation:
[user@host] yum update
2. Manually merge each created * .rpm new file that contains changes into the production
configuration files.
Result
JBoss EAP 6 has been successfully upgraded.
Report a bug
Warning
T he upgrade process for migrating traffic from a 6.0 cluster to a 6.1 cluster is therefore based on
transferring all traffic to the 6.1 cluster and then shutting down the servers or nodes in the 6.0
cluster.
Procedure 5.7. Setup a JBoss EAP Cluster in 6.1
1. Refer to the HTTP Clustering and Load Balancing chapter of the JBoss EAP 6.1 Administration
and Configuration Guide for instructions on how to setup a JBoss EAP cluster in 6.1.
2. Migrate all traffic to this new cluster using the steps outlined in the Migrate Traffic between
Clusters chapter of the JBoss EAP 6.1 Administration and Configuration Guide
Result
Your JBoss EAP 6.0 cluster has been migrated to a cluster based on JBoss EAP 6.1.
36
Report a bug
37
Reference Material
A.1. Available Downloads for JBoss EAP 6
JBoss EAP 6 includes a number of different installation types and optional components, which are
available for download on the Red Hat Customer Portal at https://access.redhat.com/. T he following table
explains the different options. Some components are only appropriate for certain operating systems or
architectures, and thus are only available for those specific variations.
38
Reference Material
Description
Operating Systems
Apache HT T P Server
A standalone Apache HT T P
server instance for each
supported operating system and
architecture. T his HT T P server
has been tested and verified to
work with JBoss EAP 6.
Native Components
Native Utilities
Javadocs
Platform-independent
Installer
Platform-independent
Maven Repository
Platform-independent
39
Quickstarts
Platform-independent
Source Code
Platform-independent
Application Platform
T he Z ip installation package,
which can be installed and run
on every supported platform.
T his is the most common way to
install JBoss EAP 6.
Platform-independent
Important
T he RPM installation method's downloads are not available on the Customer Portal, but via the
Red Hat Network (RHN).
Report a bug
40
Reference Material
Purpose
appclient/
bin/
bundles/
docs/
domain/
modules/
standalone/
welcome-content/
jboss-m odules.jar
Purpose
configuration/
data/
log/
servers/
tmp/
41
Purpose
configuration/
deployments/
lib/
tmp/
Report a bug
Description
jbossas-appclient
jbossas-bundles
OSGi bundles
jbossas-core
jbossas-domain
Domain configuration
jbossas-hornetq-native
jbossas-jbossweb-native
jbossas-modules-eap
jbossas-product-eap
jbossas-standalone
Standalone configuration
jbossas-welcome-content-eap
42
Reference Material
Important
T he jbossas-hornetq-native package is included for high availability in JBoss EAP 6 but it
is not activated by default.
Report a bug
Description
/etc/jbossas/jbossas.co
nf
T his file is read first and applies to all JBoss EAP 6 instances.
/etc/sysconfig/jbossas
/etc/sysconfig/jbossasdom ain
T he following table shows a list of available configuration properties along with their default values.
43
Description
JBOSS_USER
T he system user account that the JBoss EAP 6 runs as. T his user also has
ownership of the files.
Default value: jboss
JBOSS_GROUP
T he system user group that the JBoss EAP 6 files belong to.
Default value: jboss
T he number of seconds that the init script will wait until confirming that the
server has launched successfully after receiving a start or restart
command.
Default value: 60
JBOSS_SHUT DOWN_WA
IT
T he number of seconds that the init script will wait for the server to
shutdown before continuing when it receives a stop or restart command.
Default value: 20
JBOSS_CONSOLE_LOG
JAVA_HOME
JBOSS_HOME
JAVAPT H
JBOSSCONF
JBOSSSH
JBOSS_SERVER_CONF
IG
JBOSS_HOST _CONFIG
Report a bug
44
Installer Screenshots
Installer Screenshots
B.1. Language Selection
Report a bug
45
Report a bug
46
Installer Screenshots
Report a bug
47
Report a bug
48
Installer Screenshots
Report a bug
49
Report a bug
50
Installer Screenshots
Report a bug
51
Report a bug
52
Installer Screenshots
Report a bug
53
Report a bug
54
Installer Screenshots
Report a bug
55
Report a bug
56
Installer Screenshots
Report a bug
57
Report a bug
58
Revision History
Revision History
Revision 2.0-23
Wed Feb 12 2014
Red Hat JBoss Enterprise Application Platform 6.2.0 GA
Russell Dickenson
59