5 Replies Latest reply on May 21, 2003 10:23 AM by vitaliy

    Stycky session problem mod_JK2 and JBOSS+Jetty

    vitaliy

      Hi,

      I have a little problem with stiky session in jk2 Apache module and Jboss + Jetty .

      It redirects all requests of the same session to the same host ONLY if I delete from web.xml.

      When I mark the WebApp as requests are distributed equally between all nodes.

      Is there a way to force StickySessions for distributable webapp, as well?

      My workers2.properties is the following:

      [logger.apache2]
      level=DEBUG

      [shm]
      file=shm.file
      size=1048576

      [channel.socket:host1:8009]
      disabled=0
      port=8009
      host=127.0.0.1
      lb_factor=1
      ver=0

      [channel.socket:host2:8009]
      disabled=0
      port=8009
      host=tts-webtools
      lb_factor=1
      ver=0

      # define the worker
      [ajp13:host1:8009]
      channel=channel.socket:localhost:8009

      [ajp13:host2:8009]
      channel=channel.socket:devwebtools:8009

      [lb]
      worker=ajp13:host1:8009, ajp13:host2:8009
      stickySession=1
      sticky_session=1
      ver=1

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

      # Uri mapping
      [uri:/cocoon/]
      group=lb

      [uri:/x/]
      group=lb

      [uri:/jkstatus]
      info=Display status information and checks the config file for changes.
      group=status:


      Thank you!