1 Reply Latest reply on Jun 21, 2012 8:26 AM by rhusar

    JBoss AS7 mod_cluster

    lumia

      Hi,

      I have tried to configure mod_cluster with Apache 2.2 and JBoss AS 7, I did the following configuration in httpd.conf file:

       

      Listen 80

       

       

      LoadModule slotmem_module modules/mod_slotmem.so

      LoadModule manager_module modules/mod_manager.so

      LoadModule proxy_cluster_module modules/mod_proxy_cluster.so

      LoadModule advertise_module modules/mod_advertise.so

       

      # Virtual hosts

      Include conf/extra/httpd-vhosts.conf

       

      And following is the configuration for httpd-vhost.conf file:

       

      Listen 192.168.111.19:6666

       

      <VirtualHost 192.168.111.19:6666>

         

          <Location />

              Order deny,allow

              Deny from all

              Allow from 192.168.111.

          </Location>

         

          <Location /mod_cluster_manager>

              SetHandler mod_cluster-manager

              Order deny,allow

              Deny from all

              Allow from 192.168.111.

          </Location>

         

          KeepAliveTimeout 60

          MaxKeepAliveRequests 0

         

          ManagerBalancerName mycluster

          ServerAdvertise On

      </VirtualHost>

       

      Now, i restarted the both server but in JBoss AS side i can't get any advertise message. So what should be the problem?