3 Replies Latest reply on Jan 2, 2016 2:52 PM by sdixit

    mod_cluster superseded by Wildfly 9.x?

    jorsol

      Now that Wildfly 9+ can be used as an intelligent load balancer, is mod_cluster (the native Apache module) supperseded by Wildfly?


      What is the current status of mod_cluster (the apache module)?

        • 1. Re: mod_cluster superseded by Wildfly 9.x?
          mbabacek

          Dear Jorge, your statement regarding Wildfly 9 is incorrect.

           

          It has been possible to use Undertow mod_cluster Proxy load balancer functionality in a meaningful and satisfactory way since Wildfly 10 CR2.

          Apache HTTP Server suite of mod_cluster modules is by no means obsoleted and it is still being actively maintained. These two load balancing solutions are meant to flourish and coexist side by side.

           

          If you are having any difficulties with setting up either Wildfly with Undertow mod_cluster Proxy or Apache HTTP Server with mod_cluster module, drop a line here on the mod_cluster forum.

           

          Cheers

          Karm

          • 2. Re: mod_cluster superseded by Wildfly 9.x?
            jorsol

            Hi Karm, my statement regarding Wildfly 9 is based on what is claimed in http://wildfly.org/news/2015/07/02/WildFly9-Final-Released/. If it "works" since Wildfly 10 CR2 is another topic.

             

            I'm not saying it's obsolete, but 6 commits since last release is not what I call "actively maintained".

             

            I'm just trying to follow the future of it, the pros and cons of each solution and which I should focus on.

             

            Cheers,

            • 3. Re: mod_cluster superseded by Wildfly 9.x?
              sdixit

              I am trying out WildFly 9.2 standalone server with apache 2.4 httpd, mod_proxy/ajp. Everything works fine except I am not getting JSESSIONID in my response returned by undertow. without httpd/mod_proxy/ajp setup I do get the JSESSIONID back. I debugged undertow request/response as well and it does not have JSESSIONID in the response:

               

              ----------------------------REQUEST---------------------------

                             URI=/oecrm/rpt/JFreeChart

              characterEncoding=null

                   contentLength=-1

                     contentType=null

                          cookie=__utma=224992257.1197626788.1451751360.1451751360.1451760927.2

                          cookie=__utmb=224992257.8.10.1451760927

                          cookie=__utmc=224992257

                          cookie=__utmt=1

                          cookie=__utmz=224992257.1451751360.1.1.utmcsr

                          header=Accept=text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8

                          header=Accept-Language=en-US,en;q=0.8

                          header=Cache-Control=max-age=0

                          header=Accept-Encoding=gzip, deflate, sdch

                          header=User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36

                          header=Connection=keep-alive

                          header=Cookie=__utmt=1; __utma=224992257.1197626788.1451751360.1451751360.1451760927.2; __utmb=224992257.8.10.1451760927; __utmc=224992257; __utmz=224992257.1451751360.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

                          header=Referer=http://www.jappl.com/

                          header=Upgrade-Insecure-Requests=1

                          header=Host=www.jappl.com

                          locale=[en_US, en]

                          method=GET

                       parameter=documentHeight=240

                       parameter=documentID=-1872931474

                       parameter=documentWidth=334

                       parameter=submit=Render

                        protocol=HTTP/1.1

                     queryString=documentWidth=334&documentHeight=240&submit=Render&documentID=-1872931474

                      remoteAddr=/107.201.33.196:54214

                      remoteHost=107-201-33-196.lightspeed.bcvloh.sbcglobal.net

                          scheme=http

                            host=www.jappl.com

                      serverPort=80

              --------------------------RESPONSE--------------------------

                   contentLength=2858

                     contentType=null

                          header=X-Powered-By=Undertow/1

                          header=Server=WildFly/9

                          header=Content-Length=2858

                          header=Date=Sat, 02 Jan 2016 19:40:34 GMT

                          status=200

              ==============================================================



              Any pointers?


              Thanks,

              Sandeep