3 Replies Latest reply on Mar 21, 2004 5:14 PM by jondenly

    apache 2 and mod_jk2, no sticky sessions

    jondenly

      Hi,

      I've configured JBoss 3.2.3 with Apache 2.0.43 and the 2.0.43 mod_jk2 connector on Solaris 9, but i'm having a few problems getting the sticky sessions to work.

      I have compiled apache 2 with the --with-mpm=worker option and loaded the mod_jk2 module correctly. The load balancing works correctly, with both servers getting hit, but the users sessions are not maintained on the same server, even with the stickySession flag set to true.

      I'll post my workers2.properties below.

      Thanks in advance for any assistance!

      Jon


      workers2.properties
      =============

      [lb:lb]
      info=load balancer.
      debug=0
      ver=1
      timeout=90000
      stickySession=1

      [channel.socket:ausyduxdev00:5307]
      info=Ajp13 forwarding to ausyduxdev00 5307
      debug=10
      tomcatId=tomcat1
      lb_factor=1
      group=lb
      ver=1
      graceful=0
      disabled=0

      [channel.socket:ausyduxdev00:5407]
      info=Ajp13 forwarding to ausyduxdev00 5407
      debug=10
      tomcatId=tomcat2
      lb_factor=1
      group=lb
      ver=1
      graceful=0
      disabled=0

      [shm:]
      info=Scoreboard. Required for reconfiguration and status with multiprocess servers
      file=/tmp/jk2.shm
      size=1000000
      debug=0
      disabled=0

      [status:status]
      info=Status worker, displays runtime informations

      [uri:/jkstatus]
      group=status:status

      [uri:/*]
      group=lb