Este contenido no está disponible en el idioma seleccionado.
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).NoteJBCS supports the
mod_jkconnector on Red Hat Enterprise Linux (RHEL) versions 7, 8, and 9, and Windows Server only. JBCS installations on RHEL 10 do not support themod_jkconnector.-
The JBoss HTTP connector (
mod_proxy_cluster) is a more advanced load balancer thanmod_jk. Themod_proxy_clusterconnector provides all the functionality ofmod_jkand additional features such as real-time load-balancing calculations, application life-cycle control, automatic proxy discovery, and multiple protocol support.
1.1. Available connector types in JBCS and RHEL distributions Copiar enlaceEnlace copiado en el portapapeles!
JBCS and 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 information about the available connector types in JBCS and RHEL distributions of the Apache HTTP Server on different operating system versions:
| Operating system | mod_proxy | mod_jk | mod_proxy_cluster |
|---|---|---|---|
| RHEL 7 |
JBCS and RHEL distributions of the Apache HTTP Server provide identical |
Only the JBCS distribution of the Apache HTTP Server provides the |
Only the JBCS distribution of the Apache HTTP Server provides the |
| RHEL 8 |
JBCS and RHEL distributions of the Apache HTTP Server provide identical |
Only the JBCS distribution of the Apache HTTP Server provides the |
Only the JBCS distribution of the Apache HTTP Server provides the |
| RHEL 9 |
JBCS and RHEL distributions of the Apache HTTP Server provide identical |
JBCS and RHEL distributions of the Apache HTTP Server provide identical |
JBCS and RHEL distributions of the Apache HTTP Server provide identical |
| RHEL 10 |
JBCS and RHEL distributions of the Apache HTTP Server provide identical |
JBCS and RHEL distributions of the Apache HTTP Server no longer support the |
JBCS and RHEL distributions of the Apache HTTP Server provide identical |
1.2. Installation of connector types in JBCS and RHEL distributions Copiar enlaceEnlace copiado en el portapapeles!
Consider the following information about the installation of available connector types in JBCS and RHEL distributions of the Apache HTTP Server:
When you install a JBCS distribution of the Apache HTTP Server Server from an archive file or from RPM packages by using the
groupinstalloption, themod_jkandmod_proxy_clusterconnectors are also automatically installed.NoteThe JBCS archive file distribution for RHEL 10 does not provide or support the
mod_jkconnector.-
When you install the RHEL distribution of the Apache HTTP Server (
httpd) package on RHEL 9, themod_jkandmod_proxy_clusterconnectors are not automatically installed. In this situation, you can manually install the appropriatemod_jkormod_proxy_clusterpackage by using RHEL Application Streams. For more information, seeMod_jkinstallation andMod_proxy_clusterinstallation and upgrade. When you install the RHEL distribution of the Apache HTTP Server (
httpd) package on RHEL 10, themod_proxy_cluster connectoris not automatically installed. In this situation, you can manually install the appropriatemod_proxy_clusterpackage by using RHEL Application Streams. For more information, seeMod_proxy_clusterinstallation and upgrade.NoteThe RHEL 10 Application Streams feature does not provide or support the
mod_jkpackage.
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.