2.9. Installing Native Components and Utilities
2.9.1. Install Native Components and Native Utilities (Zip, Installer)
Prerequisites
- Install JBoss EAP 6 using the Zip installation, Graphical Installer, or Text-based Installer:
- 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 and updated to the latest version available in the official repositories. Outdated OpenSSL libraries can cause issues as more recent JBoss EAP Native Components require features not available in older versions of OpenSSL. To ensure they are updated, open a terminal and enter the following command:
sudo yum update apr apr-util openssl - If you intend to use the Tomcat Native Library which is part of the JBoss EAP Native Components, the operating system package
tomcatjssmust be removed before installation.
- For Native Components in a HP-UX environment, OpenSSL must be installed.
Procedure 2.14. Download and Install Native Components
- Download the Native Components package for your operating system and architecture from the Red Hat Customer Portal. You can download the packages from the same location specified in Section 2.3.1, “Download JBoss EAP 6 (Zip Installation)”.
- Extract the downloaded Native Components zip archive over your JBoss EAP 6 installation.You can verify a successful extraction by checking if there is a new folder for your operating system and architecture in
EAP_HOME/modules/system/layers/base/org/jboss/as/web/main/lib/. - Using the Management CLI, activate the native components for the web subsystem with the following command:
/subsystem=web:write-attribute(name=native,value=true) - Restart the JBoss EAP 6 server to apply the changes.
Procedure 2.15. Download and Install Native Utilities
- Download the Native Utilities package for your operating system and architecture from the Red Hat Customer Portal. You can download the packages from the same location specified in Section 2.3.1, “Download JBoss EAP 6 (Zip Installation)”.
- Extract the downloaded Native Components zip archive over your JBoss EAP 6 installation.You can verify a successful extraction by checking if there is
nativedirectory inEAP_HOME/modules/system/layers/base/. - Refer to procedures in the JBoss EAP documentation suite and on the Red Hat Customer Portal to configure specific native utilities features.
2.9.2. Install Native Components and Native Utilities (RPM Installation)
Prerequisites
Procedure 2.16. Install Native Components and Native Utilities
Install native components and utilities
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, replacingpackage_namewith name of the native component which you need to install:yum installpackage_nameYou can install these native components:mod_cluster-native,mod_jk,mod_rt,mod_snmp,apache-commons-daemon-jsvc-eap6,httpd,httpd-devel,jbossas-hornetq-native,jbossas-jbossweb-native.Important
The native componentsjbossas-hornetq-nativeandjbossas-jbossweb-nativeare installed by default when you run theyum groupinstall jboss-eap6command to install JBoss EAP 6 group package. If you have used Section 2.6.7, “Install JBoss EAP 6 (Graphical RPM Installation)” or Section 2.6.8, “Install JBoss EAP 6 (Text-based RPM Installation)” for JBoss EAP 6 installation you need not installjbossas-hornetq-nativeandjbossas-jbossweb-native.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 thehttpdpackage ishttpd22. Therefore the packagehttpdmust be replaced withhttpd22when you runyum installcommand for installing Apache HTTP server in Red Hat Enterprise Linux 7.package_nameRestart the server
Restart the JBoss EAP 6 server to apply the changes

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.