1 2 Previous Next 17 Replies Latest reply on Nov 27, 2015 7:02 AM by valsaraj007 Go to original post
      • 15. Re: wildfly9 load balancing example not working
        gaudina
        • 16. Re: wildfly9 load balancing example not working
          gaudina

          Like swd847 told me, I was starting wildfly in the wrong way. It should be "./domain.sh -Djboss.bind.address=<ip>" (not "-b...")

          Sorry for bother you. Thank you all.

          • 17. Re: wildfly9 load balancing example not working
            valsaraj007

            Hi,

             

             

            As mentioned here, I got same problem. When I checked with wildlfy-9.0.2.final in my local machine all worked when I used bind address as local host. But when I changed bjboss.bind.address=IP it didn't work.

             

            Even though backends registered as before, when I send request to load balancer with the application context like https://IP/app, it returns 404 error. But the load balancer console shown registered backend and context /app. When I reverted bind address to localhost, all started working!

            [Server:load-balancer1] 17:10:30,843 INFO  [io.undertow] (default task-27) UT005045: Registering context /app, for node app-node-00

            This messge shows in load balancer console but the request through balancer fails when IP is set. I am using backends wildfly-8.2.0. This issue occurs in both Windows and Linux OS.

             

            When I replaced <mod-cluster name="modcluster" management-socket-binding="http" advertise-socket-binding="modcluster"/> to <mod-cluster name="modcluster" management-socket-binding="ajp" advertise-socket-binding="modcluster"/>, I got following error:

            https://issues.jboss.org/browse/UNDERTOW-511

             

            I have no clue about what went wrong. Any help is appreciated.

             

            Thanks!

            1 2 Previous Next