0 Replies Latest reply on Nov 11, 2014 8:45 AM by maderhan

    Apache httpd + mod_proxy + Wildfly 8.1 standalone migration from AS7.2

    maderhan

      Hello,

       

      I tried to migrate from AS7.2 standalone cluster to WF8.1, but I am always getting problems with the session.

      It seems that stickyness does not work properly.

       

      I have read about to change to mod_cluster but I am not sure, if that would solve my problem.

       

      Has anybody tried out that "old" way for loadbalancing?

       

      Thanks a lot!!

       

      Here are the most important config. fragments:

       

      Loadbalancer:

      Apache httpd + mod_proxy

       

      Example

      ...

      <Proxy balancer://JbossCluster>

        BalancerMember ajp://lisv0132:9049 route=int1

        BalancerMember ajp://lisv0133:9049 route=int2

      </Proxy>

      ...

      ProxyPass /myapp balancer://JbossCluster/myapp stickysession=JSESSIONID

      ProxyPassReverse /myapp balancer://JbossCluster/myapp stickysession=JSESSIONID

      ...


      Standalone Server config:

       

      <system-properties>

            <property name="jboss.node.name" value="int1"/>

            <property name="jvmRoute" value="${jboss.node.name}"/>

      </system-properties>

       

      <subsystem xmlns="urn:jboss:domain:undertow:1.1" instance-id="${jboss.node.name}">