4 Replies Latest reply on Mar 11, 2013 7:54 AM by mbabacek

    configure Jboss to not try to join apache

    fnossair

      i installed Apache with mod_cluster and Jboss 7.1.0.

       

      i have 3 Jboss server and i want that apache communicate with just 2.

       

      i configure the 2 Jboss and the apache, but whene i start the third one, it try to send status to the apache server without being configured et it throw an exception :

      INFO  [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command STATUS to proxy name_apache/adr_apache:8796: java.net.ConnectException: Connection refused

       

      how can i indecate to the Jboss server dont try to join apache?

       

      thanks

        • 1. Re: configure Jboss to not try to join apache
          mbabacek

          If you don't want mod_cluster subsystem there at all, just remove it :-)

          If you want the third AS to join a different balancer, specify the balancer's name.

          If you want the third AS just not to be listening to Apache's advertisements, set <mod-cluster-config advertise="false"...

          • 2. Re: configure Jboss to not try to join apache
            fnossair

            the prob that apache can forward the client demande to the third one.

            i add advertise="false" and i still have the same behavior.

             

            i want that the third Jboss bont be visible to the apache server but still in cluster with the other Jboss.

             

            thanks for your help

            • 3. Re: configure Jboss to not try to join apache
              rhusar

              i want that the third Jboss bont be visible to the apache server but still in cluster with the other Jboss.

              Open your standalone-ha.xml and remove mod_cluster extension at the top and remove the mod_cluster subsystem further below.

              • 4. Re: configure Jboss to not try to join apache
                mbabacek

                OK, AS7 clustering does not rely on mod_cluster subsystem in any way.

                You can have three AS7 servers in a cluster while having mod_cluster subsystem configured only on two of them.

                 

                If you do not want mod_cluster there at all, remove the subsystem.

                 

                Regarding my note on advertise="false": Well, I misunderstood you at first. If proxyList is undefined, it will start to listen anyhow.