-
1. Re: config apache mod_cluster
rhusar Mar 11, 2013 5:15 AM (in response to fnossair)Your mod_cluster seems to be advertizing connections to HTTP but you have only loaded the AJP module for mod proxy (LoadModule proxy_ajp_module /appli/apache2/modules/mod_proxy_ajp.so).
SO you either need to load this module:
LoadModule proxy_http_module modules/mod_proxy_http.so
Or switch your AS isntallation to use AJP instead of HTTP (I would recommend this option).
-
2. Re: config apache mod_cluster
fnossair Mar 11, 2013 7:59 AM (in response to rhusar)this is what i did in the AS installation :
<subsystem xmlns="urn:jboss:domain:modcluster:1.0">
<mod-cluster-config advertise-socket="modcluster" proxy-list="adr_apache:8796">
<dynamic-load-provider>
<load-metric type="busyness"/>
</dynamic-load-provider>
</mod-cluster-config>
</subsystem>
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false" instance-id="server-web1">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
</subsystem>
is that correcte?
what can i change to switch the AS isntallation to use AJP?
thanks for your help
-
3. Re: config apache mod_cluster
mbabacek Mar 11, 2013 8:34 AM (in response to fnossair)Please, update your AS7 and mod_cluster, if you can.
urn:jboss:domain:modcluster:1.0 suggests you are not really up to date.
If you set <mod-cluster-config connector="ajp"...
it will use the connector indicated.
-
4. Re: config apache mod_cluster
fnossair Mar 11, 2013 12:00 PM (in response to mbabacek)tkans for your reply
but how can i update mod_cluster without updating the AS7?
-
5. Re: config apache mod_cluster
rhusar Mar 11, 2013 1:11 PM (in response to fnossair)For that you would have to update entire AS7 installation.