Beruflich Dokumente
Kultur Dokumente
Platform 6.3
Installation Guide
Legal Notice
Co pyright 20 14 Red Hat, Inc..
This do cument is licensed by Red Hat under the Creative Co mmo ns Attributio n-ShareAlike 3.0
Unpo rted License. If yo u distribute this do cument, o r a mo dified versio n o f it, yo u must pro vide
attributio n to Red Hat, Inc. and pro vide a link to the o riginal. If the do cument is mo dified, all Red
Hat trademarks must be remo ved.
Red Hat, as the licenso r o f this do cument, waives the right to enfo rce, and agrees no t to assert,
Sectio n 4 d o f CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shado wman lo go , JBo ss, MetaMatrix, Fedo ra, the Infinity
Lo go , and RHCE are trademarks o f Red Hat, Inc., registered in the United States and o ther
co untries.
Linux is the registered trademark o f Linus To rvalds in the United States and o ther co untries.
Java is a registered trademark o f Oracle and/o r its affiliates.
XFS is a trademark o f Silico n Graphics Internatio nal Co rp. o r its subsidiaries in the United
States and/o r o ther co untries.
MySQL is a registered trademark o f MySQL AB in the United States, the Euro pean Unio n and
o ther co untries.
No de.js is an o fficial trademark o f Jo yent. Red Hat So ftware Co llectio ns is no t fo rmally
related to o r endo rsed by the o fficial Jo yent No de.js o pen so urce o r co mmercial pro ject.
The OpenStack Wo rd Mark and OpenStack Lo go are either registered trademarks/service
marks o r trademarks/service marks o f the OpenStack Fo undatio n, in the United States and o ther
co untries and are used with the OpenStack Fo undatio n's permissio n. We are no t affiliated with,
endo rsed o r spo nso red by the OpenStack Fo undatio n, o r the OpenStack co mmunity.
All o ther trademarks are the pro perty o f their respective o wners.
Abstract
This bo o k is a guide to the installatio n o f Red Hat JBo ss Enterprise Applicatio n Platfo rm 6 and
its patch releases.
T able of Contents
.Preface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3. . . . . . . . . .
1. Do c ument Co nventio ns
3
1.1. Typ o g rap hic Co nventio ns
3
1.2. Pull-q uo te Co nventio ns
4
1.3. No tes and Warning s
5
2 . G etting Help and G iving Feed b ac k
5
2 .1. Do Yo u Need Help ?
5
2 .2. We Need Feed b ac k!
6
. .hapt
C
. . . .er
. .1. .. Product
. . . . . . . .O. verview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7. . . . . . . . . .
1.1. Ab o ut Red Hat JBo s s Enterp ris e Ap p lic atio n Platfo rm 6
7
1.2. Features o f JBo s s EAP 6
7
. .hapt
C
. . . .er
. .2. .. Int
. . .roduct
. . . . . .ion
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9. . . . . . . . . .
2 .1. Ab o ut the Red Hat Cus to mer Po rtal
. .hapt
C
. . . .er
. .3.
. .Syst
. . . .em
. . .Requirement
. . . . . . . . . . . s. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1. 0. . . . . . . . . .
3 .1. JBo s s EAP 6 Ins tallatio n Prereq uis ites
10
. .hapt
C
. . . .er
. .4. .. Inst
. . . .all
. . Inst
. . . .ruct
. . . ions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1. 1. . . . . . . . . .
4 .1. JBo s s EAP 6 Ins tallatio n Metho d s
11
4 .2. Zip Ins tallatio n
11
4 .2.1. Do wnlo ad JBo s s EAP 6 (Zip Ins tallatio n)
11
4 .2.2. Ins tall JBo s s EAP 6 (ZIP Ins tallatio n)
12
4 .2.3. Unins tall JBo s s EAP 6 (Zip Ins tallatio n)
13
4 .3. Ins taller
13
4 .3.1. Do wnlo ad JBo s s EAP 6 (Ins taller)
13
4 .3.2. Run the JBo s s EAP Ins tallatio n Pro g ram
14
4 .3.3. Unins tall JBo s s EAP 6 (Ins taller)
17
4 .4. G rap hic al RPM Ins tallatio n
18
4 .4.1. Ins tall JBo s s EAP 6 (G rap hic al RPM Ins tallatio n)
18
4 .5. Text-b as ed RPM Ins tallatio n
19
4 .5.1. Ins tall JBo s s EAP 6 (Text-b as ed RPM Ins tallatio n)
19
4 .6 . Auto mated Ins tallatio n
20
4 .6 .1. Ins tall Multip le Ins tanc es o f JBo s s EAP 6 (Ins taller)
20
4 .6 .2. Us e Auto matic Ins tallatio n Sc rip t (auto .xml) fro m Different So urc es fo r Ins talling JBo s s EAP
6
21
4 .7. Auto mated Ins tallatio n Ap p ro ac hes
21
4 .7.1. Ab o ut Auto mated Ins tallatio n Ap p ro ac hes
21
4 .7.2. Ins tall JBo s s EAP 6 b y Pre-s etting the Key/Pas s wo rd Values in the Auto matic Ins tallatio n
Variab le File
22
4 .7.3. Ins tall JBo s s EAP 6 auto matic ally b y Sp ec ifying the Key Values /Pas s wo rd s During Ins tall
Time
22
4 .8 . Ins talling Native Co mp o nents and Utilities
23
4 .8 .1. Ins tall Native Co mp o nents and Native Utilities (Zip , Ins taller)
23
4 .8 .2. Ins tall Native Co mp o nents and Native Utilities (RPM Ins tallatio n)
24
4 .9 . Servic e Co nfig uratio n
25
4 .9 .1. Co nfig ure JBo s s EAP 6 as a Servic e in Red Hat Enterp ris e Linux (RPM Metho d )
25
4 .9 .2. Co nfig ure JBo s s EAP 6 as a Servic e in Red Hat Enterp ris e Linux (Zip , Ins taller)
26
4 .9 .3. Co nfig ure JBo s s EAP 6 as a Servic e in Mic ro s o ft Wind o ws Server (Zip , Ins taller)
29
. .hapt
C
. . . .er
. .5.
. .Pat
. . .ching
. . . . . and
. . . . Upgrading
. . . . . . . . . . JBoss
. . . . . .EAP
. . . .6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
...........
5 .1. Ab o ut Patc hes and Up g rad es
32
5 .2. Patc hing JBo s s EAP 6
32
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
5 .2. Patc hing JBo s s EAP 6
32
32
33
33
5 .2.2.2. Ins talling Patc hes in Zip Fo rm Us ing the Patc h Manag ement Sys tem
34
5 .2.2.3. Ro llb ac k the Ap p lic atio n o f a Patc h in Zip Fo rm Us ing the Patc h Manag ement Sys tem
5 .2.3. Patc hing an RPM Ins tallatio n
5 .2.4. Sub s c rib e to Patc h Mailing Lis ts
5 .2.5. Severity and Imp ac t Rating o f JBo s s Sec urity Patc hes
5 .3. Up g rad ing JBo s s EAP 6
5 .3.1. Up g rad e the JBo s s EAP 6 ZIP Ins tallatio n
5 .3.2. Up g rad e the JBo s s EAP 6 RPM Ins tallatio n
5 .3.3. Up g rad e JBo s s EAP Clus ter fro m 6 .2 to 6 .3
36
38
39
40
41
41
42
43
.Reference
. . . . . . . . .Mat
. . . erial
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4. 5. . . . . . . . . .
A .1. Availab le Do wnlo ad s fo r JBo s s EAP 6
45
A .2. Direc to ry Struc ture o f JBo s s EAP 6
46
A .3. RPM Pac kag e Lis t fo r JBo s s EAP 6
48
A .4. RPM Ins tallatio n Co nfig uratio n Files fo r JBo s s EAP 6
49
.Inst
. . .aller
. . . . Screenshot
. . . . . . . . . . s. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
...........
B .1. Lang uag e Selec tio n
51
B .2. End Us er Lic ens e Ag reement
B .3. Ins tallatio n Path
B .4. Selec t the Pac ks to Ins tall
51
52
53
54
55
56
57
60
64
69
70
71
73
74
75
76
77
79
80
81
82
83
84
85
. . . . . . . . .Hist
Revision
. . . ory
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8. 7. . . . . . . . . .
Preface
Preface
1. Document Convent ions
This manual uses several conventions to highlight certain words and phrases and draw attention to
specific pieces of information.
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
Desktop
Desktop1
photos
scripts
stuff
svgs
svn
Source-code listings are also set in mo no -spaced ro man but add syntax highlighting as follows:
static int kvm_vm_ioctl_deassign_device(struct kvm *kvm,
int r = 0;
Preface
before, "
kvm_deassign_device(kvm, match);
kvm_free_assigned_device(kvm, match);
o ut:
mutex_unlock(& kvm->lock);
return r;
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.
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
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.
D escrip t io n
Java Certification
Managed D omain
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
Feat u re
D escrip t io n
Report a bug
Chapter 2. Introduction
2.1. About t he Red Hat Cust omer Port al
The Red Hat Customer Portal is the centralized platform for Red Hat knowledge and subscription
resources. Use the Red Hat Customer Portal to do the following:
Manage and maintain Red Hat entitlements and support contracts.
D ownload officially-supported software.
Access product documentation and the Red Hat Knowledgebase.
Contact Global Support Services.
File bugs against Red Hat products.
The Customer Portal is available here: https://access.redhat.com.
Report a bug
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
10
D escrip t io n
Z ip Installation
JAR Installer
RPM Installation
In st ru ct io n s
Section 4.2.2, Install JBoss
EAP 6 (Z IP Installation)
Report a bug
11
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
12
13
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
2. Click D o wn lo ad s.
3. Click R ed Hat JBo ss Enterpri se Appl i cati o n P l atfo rm in the P ro d uct
D o wnl o ad s list.
4. Select the correct JBoss EAP version from the Versi o n drop-down menu.
5. Find R ed Hat JBo ss Enterpri se Appl i cati o n P l atfo rm 6 . x.x Instal l er in
the list and click the D o wnl o ad option.
R esu lt
JBoss EAP 6 is now downloaded to your target machine, ready for installation.
N ext St ep in In st aller
Section 4.3.3, Uninstall JBoss EAP 6 (Installer)
Report a bug
Wh en it Ap p ears
D escrip t io n
Section B.1,
Language Selection
Section B.2, End User
License Agreement
Always
Section B.3,
Installation Path
Always
Always
14
Screen n ame
Wh en it Ap p ears
D escrip t io n
Section B.5,
Administrative User
Creation
Always
Section B.6,
Quickstart
Installation
Always
Always
If you choose to
configure the custom
port bindings for
standalone mode
If you choose to
configure the custom
port bindings for
domain mode.
Always
Section B.14,
Password Vault
Configuration
Always
Always
15
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
Screen n ame
Wh en it Ap p ears
D escrip t io n
Section B.15,
Configure SSL
Security
If you choose to
enable SSL security in
advanced
configuration of
runtime environment
Warning
Red Hat recommends that you explicitly
disable SSL in favor of TLSv1.1 or
TLSv1.2 in all affected packages.
Section B.16,
Configure LD AP
If you choose to
enable LD AP
Configuration in
advanced
configuration of
runtime environment
Section B.17,
Infinispan
Configuration
Section B.19, JD BC
D river Setup
Section B.20,
D atasource Setup
16
Screen n ame
Wh en it Ap p ears
D escrip t io n
Always
Always
Always
Always
Always
R esu lt
The installation is complete and JBoss EAP 6 is installed on your target machine.
Report a bug
17
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
18
19
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
20
Note
When you use the automatic installation script (auto.xml) for automated installation the
installer by default will generate a prompt for entering all passwords.
R esu lt
An identical instance of JBoss EAP 6 has been installed, based on the automatic installation script.
Report a bug
4 .6.2. Use Aut omat ic Inst allat ion Script (aut o.xml) from Different Sources for
Inst alling JBoss EAP 6
The installer can use the automatic installation script (auto . xml ) from any of the network locations
irrespective of where it is being run. Thus the installer (jbo ss-eap-6 . 3. 0 -i nstal l er. jar) and
the automatic installation script (auto . xml ) can be located on different machines. This topic covers
the steps to install JBoss EAP 6.3 automatically from a different network location.
In a terminal type either of the following commands to specify the automatic installation script
(present at a different network location) to your current network location:
java -jar jbo ss-eap-6 . 3. 0 -i nstal l er. jar http://network-host/auto.xml
(For HTTP)
java -jar jbo ss-eap-6 . 3. 0 -i nstal l er. jar ftp://network-host/auto.xml
(For FTP)
R esu lt
JBoss EAP 6 is installed on your machine.
Report a bug
21
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
The first approach is to specify all the key/password values needed for automatic installation in
the automatic installation variable file
The second approach is to specify the key/password values during install time
Report a bug
4 .7.3. Inst all JBoss EAP 6 aut omat ically by Specifying t he Key
Values/Passwords During Inst all T ime
Use the following procedure for automatically installing JBoss EAP 6.3 by specifying the key
values/passwords during install time.
Pro ced u re 4 .12.
R u n t h e in st aller wit h variab les arg u men t
You can initiate automated installation by running the installer with variables argument and then
22
specifying a variable list. This variables argument will help you define variables along with the
key/password values during install time. To initiate the installation process open a terminal and
enter the following command with relevant filenames:
java -jar jbo ss-eap-6 . 3. 0 -i nstal l er. jar auto . xml -variables
adminPassword=password#2,vault.keystorepwd=vaultkeystorepw,ssl.password
=user12345
Note
It is important to specify the variable names (adminPassword, keystorepwd and
ssl.password) without any empty space for successful installation.
Report a bug
4 .8.1. Inst all Nat ive Component s and Nat ive Ut ilit ies (Zip, Inst aller)
Prereq u isit es
Install JBoss EAP 6 using the Z ip installation, Graphical Installer, or Text-based Installer:
Section 4.2.2, Install JBoss EAP 6 (Z IP Installation) .
Section 4.3.2, Run the JBoss EAP Installation Program
Access to the Management CLI or the Management Console for the JBoss EAP 6 server. Refer to
Launch the Management CLI or Log in to the Management Console in the Administration and
Configuration Guide.
For Native Components:
In Red Hat Enterprise Linux 6 and 7 environments, ensure that the Apache Portability Runtime
(APR) and OpenSSL libraries are installed. If you intend to use the Tomcat Native Library
which is part of the JBoss EAP Native Components, the operating system package to mcatjss
must be removed before installation.
23
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
4 .8.2. Inst all Nat ive Component s and Nat ive Ut ilit ies (RPM Inst allat ion)
You can use the RPM installation method to install native components, utilities and all the
corresponding dependencies only if you have installed EAP using RPM installation method. The
RPM package method of installing natives is appropriate for Red Hat Enterprise Linux 5, 6 and 7.
This topic covers the steps required to install the native components and utilities using the command
line.
Prereq u isit es
Section 3.1, JBoss EAP 6 Installation Prerequisites
Pro ced u re 4 .15. In st all N at ive C o mp o n en t s an d N at ive U t ilit ies
1. In st all n at ive co mp o n en t s an d u t ilit ies
To install native components and utilities in Red Hat Enterprise Linux 5, 6 and 7 (with their
dependencies) run the following command using your administration account replacing
package_name with name of the native component which you need to install:
24
Important
The native components jbo ssas-ho rnetq -nati ve and jbo ssas-jbo sswebnati ve are installed by default when you run the yum g ro upi nstal l jbo ss-eap6
command to install JBoss EAP 6 group package. If you have used Section 4.4.1,
Install JBoss EAP 6 (Graphical RPM Installation) or Section 4.5.1, Install JBoss EAP
6 (Text-based RPM Installation) for JBoss EAP 6 installation you need not install
jbo ssas-ho rnetq -nati ve and jbo ssas-jbo ssweb-nati ve.
Note
It is important to give the correct package name in order to install a specific native
component. Package names are case sensitive. In Red Hat Enterprise Linux 7 the name
of the httpd package is httpd 22. Therefore the package httpd must be replaced with
httpd 22 when you run yum i nstal l package_name command for installing
Apache HTTP server in Red Hat Enterprise Linux 7.
25
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
4 .9.2. Configure JBoss EAP 6 as a Service in Red Hat Ent erprise Linux (Zip,
Inst aller)
Prereq u isit es
Install JBoss EAP 6 using the Z ip installation, Graphical Installer, or Text-based Installer:
Section 4.2.2, Install JBoss EAP 6 (Z IP Installation) .
Section 4.3.2, Run the JBoss EAP Installation Program .
Administrator privileges on the server are required.
Su mmary
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. This process does not
apply when the installation has been done using the RHN (RPM) method.
Pro ced u re 4 .17. Set U p t h e Service
Note
The 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 jbo ss-asstand al o ne. sh with jbo ss-as-d o mai n. sh.
26
Note
The green [OK] does not appear for Red Hat Enterprise Linux 7.
27
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
Note
The steps below describe uninstalling the JBoss EAP 6 service in standalone mode. In order
to uninstall the JBoss EAP 6 service in domain mode, use the same steps but replace jbo ssas-stand al o ne. sh with jbo ss-as-d o mai n. sh.
1. If the service is running, first open a terminal and stop the service by executing the sto p
command with the name of the service:
sud o servi ce jbo ss-as-stand al o ne. sh sto p
2. Remove JBoss EAP from the list of services:
sud o chkco nfi g --d el jbo ss-as-stand al o ne. sh
3. Remove the system directory files.
a. Remove the service start-up script:
sud o rm /etc/i ni t. d /jbo ss-as-stand al o ne. sh
b. Remove the service configuration file:
sud o rm /etc/jbo ss-as/jbo ss-as. co nf
Important
/etc/jbo ss-as is not a standard system directory. Only if there are no other
files being used there, also remove the directory itself:
sud o rm -rf /etc/jbo ss-as/
R esu lt
28
Important
When setting system environment variables, using the set command at a Windows Server
command prompt will not permanently set the environment variable. You must use either the
setx command, or the System interface in the C o ntro l P anel .
Su mmary
Use the following procedures to configure JBoss EAP 6 as a service on Microsoft Windows Server.
Pro ced u re 4 .19 . C o n f ig u re a Service f o r JB o ss EAP 6 in Micro so f t Win d o ws Server
1. C reat e syst em en viro n men t variab les
Create two system environment variables:
JBO SS_HO ME pointing to the JBoss EAP 6 installation directory.
NO P AUSE= 1
2. If n o t alread y co n f ig u red , d o wn lo ad an d ext ract t h e N at ive U t ilit ies p ackag e f o r
yo u r arch it ect u re
If the Native Utilities for Windows Server package has not been installed as part of the JBoss
EAP 6 installation, download the relevant 32-bit or 64-bit package from the Red Hat Customer
Portal at https://access.redhat.com. Extract the Native Utilities zip archive over the JBoss EAP
6 installation.
This will result in a nati ve directory in the following location in the JBoss EAP 6 installation:
EAP_HOME\mo d ul es\system\l ayers\base\
3. In st all t h e service
29
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
D escrip t io n
/controller
HOST:PORT
/host
[DOMAIN_HOST]
/loglevel LEVEL
/name
SERVICE_NAME
/desc
" DESCRIPTION"
/serviceuser
DOMAIN\USERNAME
/servicepass
PASSWORD
/jbossuser
USERNAME
/jbosspass
PASSWORD
Below are basic examples of an i nstal l 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:
servi ce. bat i nstal l /l o g l evel INFO
B. D omain 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.
servi ce. bat i nstal l /ho st master /l o g l evel INFO
A new Windows service will be created with name JBo ssEAP 6 .
4. Verif y t h e n ew service in t h e Services co n so le
Execute the following command in a terminal to open the Windows Services console:
servi ces. msc
30
If the default service name was used, in the list of Windows services, the new service will have
the display name: JBo ss Enterpri se Appl i cati o n P l atfo rm 6 . From the Services
console you can start and stop the service, as well change its settings on how and when it
starts.
5. St art in g an d st o p p in g t h e JB o ss EAP 6 service f ro m a t ermin al
To start the service from a terminal, use the following command, changing the service name if
necessary:
net start JBossEAP6
To stop the service from a terminal, use the following command, changing the service name if
necessary:
net sto p JBossEAP6
R esu lt
A JBoss EAP 6 service is configured in Microsoft Windows Server.
Pro ced u re 4 .20. U n in st all t h e JB o ss EAP 6 service f ro m Micro so f t Win d o ws Server
If the service is running, first open a terminal and stop the service by executing the net sto p
command with the name of the service:
net sto p JBossEAP6
In a terminal, change directories to
EAP_HOME\mo d ul es\system\l ayers\base\nati ve\sbi n and execute the following
command:
servi ce uni nstal l
R esu lt
The JBoss EAP 6 service has been removed from Microsoft Windows Server.
Report a bug
31
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
Important
A JBoss product installation must always only be updated using one patch method: either zip
or RPM patches. Only security and cumulative patches will be available via RPM, and
customers using an RPM installation will not be able to update using zip patches.
JBoss patches can be either an asynchronous update, or a planned update:
Asynchronous updates: individual patches which are released outside the normal update cycle of
the existing product. These may include security patches, as well as other individual patches
provided by Red Hat Global Support Services (GSS) to fix specific issues.
Planned updates: These include cumulative patches, as well as micro, minor or major upgrades
of an existing product. Cumulative patches include all previously developed updates for that
version of the product.
D eciding whether a patch is released as part of a planned update or an asynchronous update
depends on the severity of the issue being fixed. An issue of low impact is typically deferred, and is
resolved in the next cumulative patch or minor release of the affected product. Issues of moderate or
higher impact are typically addressed in order of importance as an asynchronous update to the
affected product, and contain a fix for only a specific issue.
Security updates for JBoss products are provided by an erratum (for both zip and RPM methods).
The 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.
32
Important
It is important to note that after a patch has been applied, the jars picked up at runtime are
picked up from the
EAP_HOME/mo d ul es/system/l ayers/base/. o verl ays/$P AT C H_ID /$MO D ULE
directory. The original files are left in
EAP_HOME/mo d ul es/system/l ayers/base/$MO D ULE. The patching mechanism cripples
the original jar files for security reasons. This means that if you apply a patch which updates a
module, the original module's jar files are altered to be unusable. If the patch is rolled back,
the original files will be reverted back to a usable state. This also means that the proper
rollback procedure must be used to rollback any applied patch. See Section 5.2.2.3,
Rollback the Application of a Patch in Z ip Form Using the Patch Management System for the
proper rollback procedure.
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
Red Hat maintains a mailing list for notifying subscribers about security related flaws. See
Section 5.2.4, 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 management system. Refer to Section 5.2.3, Patching an RPM
Installation to update RPM-installed JBoss EAP 6 servers.
Note
The patch management system 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 management system can provide basic information on the
state of installed patches, and also provides a way to immediately rollback the application of a
patch.
When applying or rolling back a patch, the patch management system will check the modules and
33
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
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 management system will
abort the operation and warn that there is a conflict. The warning will include a list of the modules
and other files that are in conflict. To complete the operation, it must be retried with a switch
specifying how to resolve the conflict: either to preserve the user modifications, or to override them.
The table below lists the arguments and switches for the Management CLI patch command.
T ab le 5.1. patch C o mman d Arg u men t s an d Swit ch es
Arg u men t o r Swit ch
D escrip t io n
appl y
--o verri d e-al l
Applies a patch.
If there is a conflict, the patch operation
overrides any user modifications.
If there is a conflict as a result of any modified
modules, this switch overrides those
modifications with the contents of the patch
operation.
For specified miscellaneous files only, this will
override the conflicting modified files with the
files in the patch operation.
For specified miscellaneous files only, this will
preserve the conflicting modified files.
Available in domain mode, this specifies the
host that the patch operation will be performed
on.
Returns information on currently installed
patches.
Returns information on the patching history.
Rollsback the application of a patch.
Required for rollback, the ID of the patch to
rollback.
Required for rollback, this specifies whether to
restore the server configuration files as part of
the rollback operation.
If the patch to rollback is an individual (one-off)
patch, using this argument specifies that the
rollback operation will also rollback all other
one-off patches that have been applied on top
of the specified patch.
--preserve= path(,path)
--ho st= HOST_NAME
i nfo
hi sto ry
ro l l back
--patch-i d = PATCH_ID
--reset-co nfi g urati o n= TRUE| FALSE
--ro l l back-to
Report a bug
34
Important
The patch management system 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/.
Prereq u isit es
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 or the Management Console for the JBoss EAP 6 server to be
updated. Refer to Launch the Management CLI or Log in to the Management Console in the
Administration and Configuration Guide.
Warning
Before installing a patch, you should backup your JBoss product along with all customized
configuration files.
35
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
B. For a managed domain: click on the D o mai n tab at the top of the screen, select the host
you want to patch from the Ho st drop-down menu, then click P atch Manag ement.
3. Click Appl y a New P atch.
a. If you are patching a managed domain host, on the next screen select whether to
shutdown the servers on the host, and click Next.
4. Click the Bro wse button, select the downloaded patch you want to apply, and then click
Next.
a. If there are any conflicts in attempting to apply the patch, a warning will be displayed.
Click Vi ew erro r d etai l s to see the detail of the conflicts. If there is a conflict, you
can either cancel the operation, or select the O verri d e al l co nfl i cts check box
and click Next. Overriding conflicts will result in the content of the patch overriding
any user modifications.
5. After the patch has been successfully applied, select whether to restart the JBoss EAP 6
server now for the patch to take effect, and click Fi ni sh.
R esu lt
The JBoss EAP 6 server instance is patched with the latest update.
Report a bug
Warning
Rolling back the application of a patch using the patch management system 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
The patch management system 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/.
Prereq u isit es
A patch that was previously applied using the JBoss EAP 6 patch management system.
36
Access to the Management CLI or the Management Console for the JBoss EAP 6 server. Refer to
Launch the Management CLI or Log in to the Management Console in the Administration and
Configuration Guide.
Warning
When following either procedure, use caution when specifying the value of the R eset
C o nfi g urati o n option:
If set to T R UE, 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.
37
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
2. In the R ecent P atch Hi sto ry table, select the patch that you want to rollback, then click
R o l l back.
a. For a managed domain host, on the next screen select whether to shutdown the
servers on the host, and click Next.
3. Choose your options for the rollback process, then click Next.
4. Confirm the options and the patch to be rolled back, then click Next.
a. If the O verri d e al l option was not selected and there are any conflicts in
attempting to rollback the patch, a warning will be displayed. Click Vi ew erro r
d etai l s to see the detail of the conflicts. If there is a conflict, you can either cancel
the operation, or click C ho o se O pti o ns and try the operation again with the
O verri d e al l check box selected. Overriding conflicts will result in the rollback
operation overriding any user modifications.
5. After the patch has been successfully rolled back, select whether to restart the JBoss EAP 6
server now for the changes to take effect, and click Fi ni sh.
R esu lt
The patch, and optionally also the server configuration files, are rolled back on the JBoss EAP 6
server instance.
Report a bug
38
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 upd ate
to install the patch.
Important
When updating an RPM installation, your JBoss product is updated cumulatively with
all RPM-released fixes.
R esu lt
The JBoss product is patched with the latest update using the RPM format.
Report a bug
39
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
5. You can browse the archives of the mailing list by going to: JBoss Watch Mailing List
Archives.
R esu lt
After confirmation of your email address, you will be subscribed to receive security related
announcements from the JBoss patch mailing list.
Report a bug
5.2.5. Severit y and Impact Rat ing of JBoss Securit y Pat ches
To communicate the risk of each JBoss security flaw, Red Hat uses a four-point severity scale of low,
moderate, important and critical, in addition to Common Vulnerability Scoring System (CVSS)
version 2 base scores which can be used to identify the impact of the flaw.
T ab le 5.2. Severit y R at in g s o f JB o ss Secu rit y Pat ch es
Severit y
D escrip t io n
Critical
Important
Moderate
Low
40
The impact component of a CVSS v2 score is based on a combined assessment of three potential
impacts: Confidentiality (C), Integrity (I) and Availability (A). Each of these can be rated as None (N),
Partial (P) or Complete (C).
Because the JBoss server process runs as an unprivileged user and is isolated from the host
operating system, JBoss security flaws are only rated as having impacts of either None (N) or Partial
(P).
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 D omain Controller) instance should be
upgraded first, before each Host Controller is upgraded.
41
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
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.
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. This is to prevent modified configuration files,
deployments, and upgrades from being lost.
2. Unzip the archive. This 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. To 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 bi n directory of the previous installation, and make the
equivalent modifications to the new directory.
Warning
Files in the bi n 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. These files may include:
The wel co me-co ntent directory.
Custom modules in the mo d ul es directory.
Custom bundles in the bund l es directory.
6. O p t io n al: If JBoss EAP 6 was previously configured to run as a service, remove the existing
service and configure a new service for the upgraded installation.
R esu lt
The JBoss EAP 6 Z IP installation has been successfully upgraded to the latest release.
Report a bug
42
Ensure that the base operating system is up to date and that the system is subscribed and
enabled to get updates for the Base OS channel.
Ensure that the correct JBoss EAP 6 RHN channel is enabled. For example, on a x86, 64 bit
architecture, this will be the JBoss Application Platform (v 6) for 6Server x86_64 channel
(jbapppl atfo rm-6 -x86 _6 4 -server-6 -rpm).
Back up any modified configuration files, deployments, and all user data.
Su mmary
Upgrading to the latest release of JBoss EAP 6 requires some initial work to back up the existing
installation. This topic covers upgrading the RPM installation via the Red Hat Network (RHN).
Warning
For managed domains, the master Host Controller (or D omain Controller) instance should be
upgraded first, before each Host Controller is upgraded.
Warning
The upgrade process for migrating traffic from a 6.2 cluster to a 6.3 cluster is therefore based
on transferring all traffic to the 6.3 cluster and then shutting down the servers or nodes in the
6.2 cluster.
43
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
44
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/. The 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.
T ab le A.1. Availab le D o wn lo ad s
N ame
D escrip t io n
Native Components
Native Utilities
Javadocs
Platform-independent
45
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
N ame
D escrip t io n
Installer
Platform-independent
Maven Repository
Quickstarts
Source Code
Application Platform
Platform-independent
Platform-independent
Platform-independent
Platform-independent
Important
The RPM installation method's downloads are not available on the Customer Portal, but via
the Red Hat Network (RHN).
Report a bug
46
N ame
Pu rp o se
appclient/
bin/
bundles/
docs/
domain/
modules/
standalone/
welcome-content/
.installation/
Pu rp o se
configuration/
data/
log/
servers/
tmp/
47
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
Pu rp o se
configuration/
data/
deployments/
lib/
log/
tmp/
Report a bug
D escrip t io n
jbossas-appclient
jbossas-bundles
jbossas-core
jbossas-domain
jbossas-hornetq-native
jbossas-jbossweb-native
jbossas-modules-eap
jbossas-product-eap
jbossas-standalone
48
Packag e
D escrip t io n
jbossas-welcome-content-eap
Important
The jbo ssas-ho rnetq -nati ve package is included for high availability in JBoss EAP 6
but it is not activated by default.
Report a bug
A.4 . RPM Inst allat ion Configurat ion Files for JBoss EAP 6
Su mmary
The RPM installation of JBoss EAP 6 includes three additional configuration files to the Z IP
installation. These files are used by the service init script to specify the application server's launch
environment. One of these files applies to all JBoss EAP 6 instances, while the other two provide
overrides for standalone and domain mode servers.
T ab le A.6 . Ad d it io n al R PM C o n f ig u rat io n Files
File
D escrip t io n
This file is read first and applies to all JBoss EAP 6 instances.
D escrip t io n
JBO SS_USER
The system user account that the JBoss EAP 6 runs as. This user also
has ownership of the files.
D efault value: jbo ss
JBO SS_G R O UP
The system user group that the JBoss EAP 6 files belong to.
D efault value: jbo ss
The number of seconds that the init script will wait until confirming that
the server has launched successfully after receiving a start or restart
command.
D efault value: 6 0
49
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
Pro p ert y
D escrip t io n
The number of seconds that the init script will wait for the server to
shutdown before continuing when it receives a sto p or restart
command.
D efault value: 20
The file that the CONSOLE log handler will be redirected to.
JAVA_HO ME
JAVAP T H
JBO SSC O NF
JBO SSSH
Report a bug
50
Installer Screenshots
B.1. Language Select ion
51
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
52
53
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
54
Fig u re B .5. JB o ss EAP In st allat io n Pro g ram Ad min ist rat ive U ser C reat io n
Report a bug
55
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
56
57
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
58
59
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
60
61
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
62
63
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
64
65
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
66
67
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
68
69
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
70
71
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
72
Fig u re B .23. JB o ss EAP In st allat io n Pro g ram C o n f ig u re R u n t ime En viro n men t Ad van ced
Report a bug
73
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
74
75
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
76
77
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
78
79
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
80
81
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
82
83
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
Fig u re B .33. JB o ss EAP In st allat io n Pro g ram Pro cessin g Fin ish ed
Report a bug
84
85
JBoss Ent erprise Applicat ion Plat form 6 .3 Inst allat ion G uide
86
Revision History
R evisio n 6 .3.0- 50
T u esd ay N o vemb er 18 2014 R u ssell D icken so n
Red Hat JBoss Enterprise Application Platform 6.3.0 Continuous Release
R evisio n 6 .3.0- 32
Frid ay Au g u st 8 2014
Lu cas C o st i
Red Hat JBoss Enterprise Application Platform 6.3.0 Continuous Release
R evisio n 6 .3.0- 30
Mo n d ay Au g u st 4 2014
Red Hat JBoss Enterprise Application Platform 6.3.0.GA
San d e G ild a
87