Jboss clustering: mod_cluster mod_cluster_proxy.so causing apache to crash -
i trying create cluster of jboss 7.1.1 (two instances in 1 machine port offset 100) in standalone mode. using apache (ver 2.2.22) mod_cluster(ver 1.2.0) load balancing. when bring both jboss see cluster view updated both nodes. but, getting following error in jboss:
error [org.jboss.modcluster.mcmp.impl.defaultmcmphandler] (containerbackgroundprocessor[standardengine[jboss.web]]) error [mem: mem: can't read node: {4}] sending command status proxy 127.0.0.1/127.0.0.1:6666, configuration reset
in apache logs, here have:
[notice] parent: child process exited status 255 -- restarting. [notice] advertise initialized process 4924 [notice] apache/2.2.22 (win64) php/5.3.13 mod_cluster/1.2.0.final configured -- resuming normal operations [notice] server built: may 13 2012 19:41:17 [notice] parent: created child process 2000 [notice] child 2000: child process running [notice] child 2000: acquired start mutex. [notice] child 2000: starting 64 worker threads. [notice] child 2000: starting thread listen on port 6666. [notice] child 2000: starting thread listen on port 80. [notice] child 2000: starting thread listen on port 80. [warn] manager_handler status error: mem: can't read node
it looks apache crashing due faulty module mod_cluster_proxy.so module. figure out windows event logs. here have in event log:
faulting application name: httpd.exe, version: 2.2.22.0, time stamp: 0x4faff1ba faulting module name: mod_proxy.so, version: 2.2.21.0, time stamp: 0x4f3494b7 exception code: 0xc0000005 fault offset: 0x0000000000003115 faulting process id: 0x12b4 faulting application start time: 0x01cf4735c4635dbb
can please me out how solve this? have use different version of mod_cluster? there config changes need make? here configs:
standalone-ha.xml
<subsystem xmlns="urn:jboss:domain:modcluster:1.0"> <mod-cluster-config advertise-socket="modcluster" proxy-list="127.0.0.1:6666"> <dynamic-load-provider> <load-metric type="busyness"/> </dynamic-load-provider> </mod-cluster-config> </subsystem>
httpd.conf in apache:
listen 127.0.0.1:6666 <virtualhost 127.0.0.1:6666> <directory /> order deny,allow deny allow 127.0.0 </directory> keepalivetimeout 300 maxkeepaliverequests 0 advertisefrequency 5 managerbalancername mycluster enablemcpmreceive <location /mod_cluster-manager> sethandler mod_cluster-manager order deny,allow deny allow 127.0.0 allowdisplay on </location> </virtualhost>
kindly let me know how solve this..
no, not configuration error. please, try out 1.2.6 , stay tuned 1.2.9 , 1.3.x builds...
edit: latest , greatest build built community mod_cluster 1.3.1.final.
Comments
Post a Comment