16.6.2. Configure JBoss EAP 6 to Communicate with Apache Mod_jk
Overview
The mod_jk HTTP connector has a single component, the mod_jk.so
module loaded by the HTTPD. This module receives client requests and forwards them to the container, in this case JBoss EAP 6. JBoss EAP 6 also needs to be configured to accept these requests and send replies back to the HTTPD.
Configuring the HTTPD is covered in Section 16.6.3, “Install the Mod_jk Module Into Apache HTTPD or JBoss Enterprise Web Server HTTPD”.
In order for JBoss EAP 6 to be able to communicate with the Apache HTTPD, it needs to have the AJP/1.3 HTTPD connector enabled. This connector is present by default in the following configurations:
- In a managed domain, in server groups using the
ha
andfull-ha
profiles, and theha
orfull-ha
socket binding group. Theother-server-group
server group is configured correctly in a default installation. - In a standalone server, the
standalone-ha
andstandalone-full-ha
profiles are configured for clustered configurations. To start the standalone server with one of these profiles, issue the following command, from theEAP_HOME/
directory. Substitute the appropriate profile name.[user@host bin]$
./bin/standalone.sh --server-config=standalone-ha.xml