0 Replies Latest reply on Aug 20, 2008 11:23 AM by cseguino

    Load balancing with sticky session

    cseguino

      Hi,

      I'm trying to set up load balancing between apache and JBOSS 4.2.2AS.
      It tried with mod_jk and mod_proxy, load balancing is working with both methods.
      I need to set up sticky session, but I can't manage to make JBoss/Tomcat append the jvmroute parameter to the JSESSIONID.
      In $JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml I have :
      Engine name="jboss.web" defaultHost="localhost" jvmRoute="node4"

      and in $JBOSS_HOME/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml I have :
      attribute name="UseJK">true</attribute

      If someone could help me it would be wonderful.

      Best Regards,

      Chris