5 Replies Latest reply on Mar 25, 2014 6:35 AM by Jean-Frederic Clere

    Jboss clustering: mod_cluster mod_cluster_proxy.so causing apache to crash

    Nikhil Kookkiri Newbie

      I am trying create a cluster of JBoss AS 7.1.1 (two instances in one machine with port offset as 100) in standalone mode. I am using apache (ver 2.2.22) with mod_cluster(ver 1.2.0) for load balancing. When I bring up both JBoss I could see the cluster view updated with both the nodes. But, I am getting the 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 to proxy, configuration will be reset


      In Apache logs, here is what I have:


          [notice] Parent: child process exited with status 255 -- Restarting.

          [notice] Advertise initialized for 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 is running

          [notice] Child 2000: Acquired the start mutex.

          [notice] Child 2000: Starting 64 worker threads.

          [notice] Child 2000: Starting thread to listen on port 6666.

          [notice] Child 2000: Starting thread to listen on port 80.

          [notice] Child 2000: Starting thread to listen on port 80.

          [warn] manager_handler STATUS error: MEM: Can't read node


      It looks like apache is crashing due to faulty module mod_cluster_proxy.so module. I could figure it out from the windows event logs. Here is what I have in the event log:


          Faulting application name: httpd.exe, version:, time stamp: 0x4faff1ba

          Faulting module name: mod_proxy.so, version:, time stamp: 0x4f3494b7

          Exception code: 0xc0000005

          Fault offset: 0x0000000000003115

          Faulting process id: 0x12b4

          Faulting application start time: 0x01cf4735c4635dbb


      Can anyone please help me out with how to solve this? Do I have to use a different version of mod_cluster? Is there any config changes I need to make? Here are my configs:




          <subsystem xmlns="urn:jboss:domain:modcluster:1.0">

                  <mod-cluster-config advertise-socket="modcluster" proxy-list="">


                          <load-metric type="busyness"/>





      httpd.conf in apache:




          <Directory />

           Order deny,allow

           Deny from all

           Allow from 127.0.0



          KeepAliveTimeout 300

          MaxKeepAliveRequests 0   

          AdvertiseFrequency 5

          ManagerBalancerName mycluster



          <Location /mod_cluster-manager>

             SetHandler mod_cluster-manager

             Order deny,allow

             Deny from all

             Allow from 127.0.0

             AllowDisplay On





      Kindly let me know how to solve this..