19.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 web server. This module receives client requests and forwards them to the container, in this case JBoss EAP 6. JBoss EAP 6 must also be configured to accept these requests and send replies back to the web server.
Configuring the Apache HTTP Server is covered in Section 19.6.3, “Install the mod_jk Module Into the Apache HTTP Server (ZIP)”.
In order for JBoss EAP 6 to be able to communicate with the Apache HTTP server, it must have the AJP/1.3 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