Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions docs/src/main/asciidoc/container-integration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,21 @@ e.g.
</bean>
----

=== Connectors
=== Tomcat connector

Like mod_jk and mod_proxy_balancer, mod_cluster requires a connector in your server.xml to which to forward web requests.
Unlike mod_jk and mod_proxy_balancer, mod_cluster is not confined to AJP, but can use HTTP as well. While AJP is generally
faster, an HTTP connector can optionally be secured via SSL. If multiple possible connectors are defined in your server.xml,
faster, an HTTP connector can optionally be secured via SSL.

Since mod_cluster 1.4, the connector registered with the balancer is no longer automatically chosen by mod_cluster and needs to be specified explicitly.
The new attributes `connectorPort` and/or `connectorAddress` need to be configured explicitly matching exactly one of the configured connectors, e.g.:

[source,xml]
----
<Listener className="org.jboss.modcluster.container.tomcat.ModClusterListener" connectorPort="8009"/>
----

In mod_cluster version 1.3 and older, if multiple possible connectors are defined in your server.xml,
mod_cluster uses the following algorithm to choose between them:

. If an native (APR) AJP connector is available, use it.
Expand Down