8.3. Native Components Installation
The following procedure describes installing either the mod_cluster or mod_jk load-balancing modules into the Enterprise Application Platform.
Procedure 8.1. Install Native Components from RPM
Subscribe to the JBOSS EAP5 RHN channel
- Using a web browser, navigate to http://access.redhat.com and log in with your credentials.
- View the list of all systems, and find the system on which you have installed the Enterprise Platform. Click to view its subscriptions.
- Add the JBoss Application Platform or JBoss EWP channel appropriate to your version of Red Hat Enterprise Linux.
Install the
mod_cluster-jbossaspackageLog into the application server's host system as the root user. issue the commandyum install mod_cluster-jbossasAlternative: Install the
mod_jk-ap20packageOnly follow this step if you need to use mod_jk instead of mod_cluster. Log into the application server's host system as the root user. s the root user, issue the commandyum install mod_jk-ap20.
Procedure 8.2. Install Native Components from ZIP Archives
This procedure installs the Native Components for JBoss Enterprise Web Platform.
Prerequisite:
Install JBoss Enterprise Web Platform via ZIP, RPM, or the Graphical installer before carrying out this procedure. See Section 4.3, “Installation Methods” for more details.
Download software
Refer to Appendix B, The Red Hat Customer Portal for file download instructions.To install Native Components, choose the Native Components download that corresponds to your operating system and the architecture of your Java Virtual Machine.Unzip components
Extract thenativedirectory from the zip file into thejboss-ewp-5.xdirectory, so that the native directory is at the same directory level as thejboss-as-webdirectory.Result:The Native Components are installed.Verify installation
During server startup the server will report the presence of the Native libraries:12:12:29,826 INFO [ServerInfo] VM arguments: -Dprogram.name=run.sh -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.protocol.handler.pkgs=org.jboss.handlers.stub -Djava.net.preferIPv4Stack=true -Djava.library.path=/home/ewpuser/jboss-ewp-5.1/native/lib64 -Djava.endorsed.dirs=/home/ewpuser/jboss-ewp-5.1/jboss-as/lib/endorsedThe option-Djava.library.path=/home/ewpuser/jboss-ewp-5.1/native/lib64shows that the server is detecting and loading the Native libraries.