Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 1. HTTP connectors
Red Hat JBoss Core Services (JBCS) includes two different HTTP connectors that the Apache HTTP Server can use to load-balance HTTP requests to a set of back-end servlet containers:
-
The Apache Tomcat connector (
mod_jk
) supports the load balancing of HTTP requests to a set of servlet containers, while maintaining sticky sessions and communicating over the Apache JServ Protocol (AJP). -
The JBoss HTTP connector (
mod_proxy_cluster
) is a more advanced load balancer thanmod_jk
. Themod_proxy_cluster
connector provides all the functionality ofmod_jk
and additional features such as real-time load-balancing calculations, application life-cycle control, automatic proxy discovery, and multiple protocol support.
JBCS and Red Hat Enterprise Linux (RHEL) provide separate distributions of the Apache HTTP Server. You can use the JBCS distribution of the Apache HTTP Server to connect to back-end application servers by using the mod_jk
, mod_proxy_cluster
, or mod_proxy
connector as a proxy.
Consider the following guidelines:
-
From RHEL 7 onward, the JBCS and RHEL distributions of the Apache HTTP Server provide identical
mod_proxy
modules. -
On RHEL versions 7 and 8, only the JBCS distribution of the Apache HTTP Server provides the
mod_jk
andmod_proxy_cluster
connectors. -
From RHEL 9 onward, the JBCS and RHEL distributions of the Apache HTTP Server also provide identical copies of the
mod_jk
connector and themod_proxy_cluster
connector. -
Installing a JBCS distribution of the Apache HTTP Server from an archive file or from RPM packages by using the
groupinstall
option also automatically installs themod_jk
andmod_proxy_cluster
connectors. -
Installing the RHEL 9 distribution of the Apache HTTP Server does not automatically install the
mod_jk
andmod_proxy_cluster
connectors. In this situation, you can manually install the appropriatemod_jk
ormod_proxy_cluster
package by using RHEL Application Streams. For more information, seeMod_jk
installation andMod_proxy_cluster
installation and upgrade.
The Apache HTTP Server Connectors and Load Balancing Guide describes how to install and configure the mod_jk
and mod_proxy_cluster
connectors that JBCS provides. This guide also includes a working example for basic load-balancing with mod_proxy_cluster.
Most file and directory paths shown in this guide are for an archive installation of JBCS on Red Hat Enterprise Linux. For other platforms, use the correct paths for your respective installation, as specified in the Red Hat JBoss Core Services Apache HTTP Server Installation Guide.