6 Replies Latest reply on Sep 5, 2011 5:41 PM by mclaugs

    using mod_cluster 1.1.3 with JBoss 4.3

    mclaugs

      I have followed the instructions for the configfuration of jboss 4.3 from the mod_cluster documents

       

       

      I added this to the server.xml in the deploy/jboss-web.deployer

      <Listener className="org.jboss.modcluster.catalina.ModClusterListener"

                   advertise="false" />

       

       

      I pass the following on the command line

      -Djboss.mod_cluster.proxyList=<hostname>:<port>  (assume the hostname is the apache server hostname and the port is the mod_cluster port in the apache configuration)

       

      I do not see any error in the server log , but when i go to the

      mod_cluster_manager on my apache server i do not see the jboss 4.3 instances register.  

       

      Am I missing something ?

       

      Regards

      Scott

        • 1. Re: using mod_cluster 1.1.3 with JBoss 4.3
          rhusar

          Hey Scott,

           

          Are you really trying on 4.3? Please look at the requirements for mod_cluster:

          http://docs.jboss.org/mod_cluster/1.1.0/html/Intro.html#d0e72

          This old version is unsupported so you are on your own in this :-(

           

          Rado

          • 2. Re: using mod_cluster 1.1.3 with JBoss 4.3
            jfclere

            You should look in the access_log for httpd and/or try with curl (or a browser) to reach <hostname>:<port> from the jboss nodes.

            • 3. Re: using mod_cluster 1.1.3 with JBoss 4.3
              pferraro

              In JBoss 4.x, you cannot specify the excludedContexts via a system property (this is only supported in JBoss AS5 and later).  Instead define your excludedContexts in the listener itself.

              e.g.

              <Listener className="org.jboss.modcluster.catalina.ModClusterListener" advertise="false" excludedContexts="..."/>

              • 4. Re: using mod_cluster 1.1.3 with JBoss 4.3
                mclaugs

                Thank you guys, I do see the requirements for jboss 5 the part that i did see in the docs that suprised me was that jboss 4.2 and 4.3 has instructions and they are clearly not 5.x. 

                 

                I have confirmed there is not a connectivity issue from the JBoss servers to the apache server and there are no issues with a JBoss 5.x instance from the same host connecting to apache given the same command line paramteres.    I have configured the listener as the docs state and I see the log message for the mod_cluser 1.1.3 initilize in the logs.   

                 

                the only part that is missing is the service registering with the apache instance. 

                 

                I am also seeing that the 1.1.3 on 5.x does publish the ROOT context , even though it is listed in the excludeContexts in config file. 

                 

                Thanks in advance as always

                • 5. Re: using mod_cluster 1.1.3 with JBoss 4.3
                  pferraro

                  The registration of the ROOT context when it should be excluded is a regression cause by MODCLUSTER-220.  It is fixed by MODCLUSTER-253, which was just reported today.

                  • 6. Re: using mod_cluster 1.1.3 with JBoss 4.3
                    mclaugs

                    Cool that is great news I will look to use 1.1.4 when it is released, in the mean time we have added an apache handler for take care of this problem.