Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 1. HTTP connectors

download PDF

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 than mod_jk. The mod_proxy_cluster connector provides all the functionality of mod_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 and mod_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 the mod_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 the mod_jk and mod_proxy_cluster connectors.
  • Installing the RHEL 9 distribution of the Apache HTTP Server does not automatically install the mod_jk and mod_proxy_cluster connectors. In this situation, you can manually install the appropriate mod_jk or mod_proxy_cluster package by using RHEL Application Streams. For more information, see Mod_jk installation and Mod_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.

Important

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.

Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.