1 Reply Latest reply on Apr 13, 2016 5:59 PM by ctomc

    workers.properties of multiple wildfly 10.0

    aupres

      I try to test mod_jk of multiple wildfly 10.0. The  web server with single wildfly 10 is ok. I don't need the port 8080. This is workers.properties with the single wilfly 10.0

       

      worker.list=jboss,jkstatus

      worker.jkstatus.type=status

      worker.jboss.type=ajp13

      worker.jboss.port=8009

      # The host should be using IP not server name as reported bug

      # https://www.apachelounge.com/viewtopic.php?t=5883

      worker.jboss.host=127.0.0.1

       

      However there are some problems in multiple wildfly 10.0. mod_jk does not work at all. This is workers.properties with multiple wildfly 10.0s

       

      worker.list=jboss1,jboss2,loadbalancer,jkstatus
      worker.jkstatus.type=jkstatus

       

      worker.jboss1.type=ajp13
      worker.jboss1.host=192.168.25.31
      worker.jboss1.port=8009
      worker.jboss1.lbfactor=1

       

      worker.jboss2.type=ajp13
      worker.jboss2.host=192.168.50.31
      worker.jboss2.port=8009
      worker.jboss2.lbfactor=1

       

      worker.loadbalancer.type=lb
      worker.loadbalancer.balance_workers=jboss1,jboss2
      worker.loadbalancer.sticky_session=1

       

      Pls, send me your advice. Thanks!