mod_cluster 1.3 with AS7; Cannot register node...
ja101 Nov 5, 2015 11:29 AMHello!
I am trying to get mod_cluster1.3 work with AS7.1.1 final but for some reason the node does not register with the mod_cluster manager. Is there anything I am missing? Any help will be much appreciated...
The AS node gives the following error
INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command CONFIG to proxy
However, the httpd access_log gives "INFO / HTTP/1.1" 200 581 for this node and I get the following from error_log
(111)Connection refused: AH00957: http: attempt to connect to 127.0.0.1:8080 (127.0.0.1) failed
[proxy:error] [pid 1161:tid 140222859224832] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s
[proxy:error] [pid 1162:tid 140222859224832] AH00940: http: disabled connection for (127.0.0.1)
[proxy:error] [pid 1249:tid 140222859224832] AH00940: http: disabled connection for (127.0.0.1)
[proxy:error] [pid 1163:tid 140222859224832] AH00940: http: disabled connection for (127.0.0.1)
[proxy:error] [pid 1249:tid 140222859224832] AH00940: http: disabled connection for (127.0.0.1)
I should also mention that I have a perfectly fine working node with Tomcat within this setup.
I have also used the testhttpd.war tool provided with the jboss mod_cluster distro and it reports no errors.
I use the minimal config for AS7 as advised in the doc (mod_cluster Documentation)
My httpd.conf is as under:
<IfModule manager_module>
#change port value according to your preferences
Listen *:6666
ManagerBalancerName mycluster
<VirtualHost *:6666>
<Location />
#change according to the network, multiple Require entries are allowed
Require ip 192.168.
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
ServerAdvertise on http://192.168.152.132:6666
AdvertiseFrequency 5
AdvertiseGroup 224.0.1.106:23364
EnableMCPMReceive
AllowDisplay On
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Order deny,allow
Allow from all
</Location>
</VirtualHost>
</IfModule>