3 Replies Latest reply on Nov 7, 2011 4:11 AM by rhusar

    Configuration of ModCluster in Jboss 7

    aupres

      Pls, teach me how to configure ModCluster in jboss 7.

      I typed a few lines in standalone.xml like below :

       

      ....

      <extension module="org.jboss.as.logging"/>

      <extension module="org.jboss.as.modcluster"/> <!-- this code line inserted -->

      <extension module="org.jboss.as.naming"/>

      ....

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

              <jpa default-datasource=""/>

           </subsystem>

             

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

               <mod-cluster-config>

                  <simple-load-provider load="1"/>

               </mod-cluster-config>

            </subsystem>

         

            <subsystem xmlns="urn:jboss:domain:naming:1.0"/>

      ......

       

      <subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">

                  <connector name="http" protocol="HTTP/1.1" socket-binding="http" scheme="http"/>

                  <connector name="ajp13" protocol="AJP/1.3" socket-binding="ajp"/>

       

              <socket-binding name="http" port="8080"/>

              <socket-binding name="ajp" port="8009"/>

              <socket-binding name="https" port="8443"/>

      ....

       

      And when executing jboss 7.0.1, clustering message are shown,

      ...

      18:02:36,366 INFO  [org.jboss.as.modcluster] (MSC service thread 1-2) Mod_cluster uses default load balancer provider

      18:02:36,631 INFO  [org.jboss.modcluster.ModClusterService] (MSC service thread 1-2) Initializing mod_cluster 1.1.3.Final

      18:02:36,631 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (MSC service thread 1-2) Listening to proxy advertisements on 224.0.1.105:23364

       

      But integration of apache web server and jboss 7.0.1 was failed.

      I need your advice. Thanks in advance.

       

      Best Regards.