HTTP/HTTPS is used for MCMP - AJP is used for request/response forwarding.
But, you raise a good point.
Jean-Frederic, why doesn't AS7 define an AJP connector by default, like we had in
AS5/6 and EAP5?
----- Original Message -----
From: "Bela Ban" <bban(a)redhat.com>
To: "Paul Ferraro" <paul.ferraro(a)redhat.com>, "Jean-Frederic"
<jclere(a)redhat.com>, "mod cluster"
<mod_cluster-dev(a)lists.jboss.org>
Sent: Monday, March 5, 2012 7:30:28 AM
Subject: Connection between JBoss 7 and httpd in mod-cluster
Hi Paul, Jean-Frederic,
the manual (section 9.3 SSL Configuration) states that "the
communication channel between application servers and httpd proxies
use
HTTP by default".
I thought the communication between appservers and httpd mod-cluster
uses AJP by default ? Has this changed to HTTP ?
I changed the following 2 things (in standalone-ha.xml in AS 7):
<connector name="ajp" protocol="AJP/1.3"
socket-binding="ajp"
max-connections="400"/>
<socket-binding name="ajp" port="8009"/>
and then "netstat -na |grep 8009" and the mod-cluster-manager
"show-info
command" actually showed that AJP was now used, compared to HTTP
before.
Do I have to enable this to actually make the workers communicate
with
httpd via AJP and not via HTTP ?
Or am I mistaken and this is only used for MCMP, but not
request/response forwarding ?
--
Bela Ban
Lead JGroups (
http://www.jgroups.org)
JBoss / Red Hat