1 Reply Latest reply on Jun 3, 2012 3:35 AM by hakim jamali

    Jboss 7.1.1 with webserver on seperate box

    Masiuddin Mohammed Newbie

      Initially we were having two seperate servers in our setup: appserver1    JBoss-AS 7.1.1 and  webserver    Apache appserver2    JBoss-AS 7.1.1


      We followed https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto to do cluster setup and things worked perfectly fine.



      Now I want to have following setup: webserver    Apache appserver1    JBoss-AS 7 .1.1 appserver2    JBoss-AS 7.1.1


      What changes need to be done in httpd.conf and in JBOSS configugation?


      Thanks & Regards,

      Mohammed Masiuddin

        • 1. Re: Jboss 7.1.1 with webserver on seperate box
          hakim jamali Newbie



          Please do the following to make apache as independent server :


          1. In your jboss master's domain.xml replace <subsystem xmlns="urn:jboss:domain:modcluster:1.0">
          </subsystem> with  the following :


          <subsystem xmlns="urn:jboss:domain:modcluster:1.0">
                          <mod-cluster-config advertise-socket="modcluster" proxy-list="">
                                  <load-metric type="busyness"/>


          this will tell the master that it has to get registered to apache located at the following address:port.


          Similarly all the slave host use the Master domain.xml, so they will also get registered to the mod cluster service.