Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-461

If Session ID key stored in URL contains sticky session cookie name it it used for routing

    XMLWordPrintable

Details

    • Hide
      1. Deploy sample.war
      2. Enable LogLevel debug in Apache
      3. Go to http://myserver/sample/hello.jsp and get a JSESSIONID
      4. Use curl like below to make a request using the valid JSESSIONID:
        curl -b "JSESSIONID=<jsessiond>.<instance-id>" -v 'http://myserver/sample/hello.jsp;not.really.jsessionid=oops'
      5. Review error_log in Apache and you will see something similar to below:

      [Fri Jul 17 14:54:40 2015] [debug] mod_proxy_cluster.c(2771): cluster: balancer://mycluster Found value oops for stickysession JSESSIONID|jsessionid

      Show
      Deploy sample.war Enable LogLevel debug in Apache Go to http://myserver/sample/hello.jsp and get a JSESSIONID Use curl like below to make a request using the valid JSESSIONID: curl -b "JSESSIONID=<jsessiond>.<instance-id>" -v 'http://myserver/sample/hello.jsp;not.really.jsessionid=oops' Review error_log in Apache and you will see something similar to below: [Fri Jul 17 14:54:40 2015] [debug] mod_proxy_cluster.c(2771): cluster: balancer://mycluster Found value oops for stickysession JSESSIONID|jsessionid

    Description

      If I make a request with a valid JSESSIONID cookie and a URL like below, the value from the URL is used by mod_cluster for sticky session routing:

      curl -b "JSESSIONID=OTg+mUVLRceO2bqRIcsSJmlm.4e6189af-0502-3305-8ff3-fad7fee8b516" -v 'http://myserver/sample/hello.jsp;not.really.jsessionid=oops'

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              rhn-support-rbost Robert Bost
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: