Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4414

Non Standard SESSIONID not clustered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 8.1.0.Final
    • Clustering
    • None

      We are using Wildfly 8.1.0-Final in domain mode with mod-cluster.
      We use a non-standard session id in a web application as follows:
      ...
      <distributable />
      <session-config>
      <cookie-config>
      <name>VSOPSESSIONID</name>
      </cookie-config>
      </session-config>
      ...

      During testing of this we had our sticky set to JSESSIONID which caused requests to be forwarded to our 2 nodes alternatively.

      In our 1st request we do:

      request.getSession().setAttribute(KEY, value)

      In our 2nd request we do:

      request.getSession.getAttribute(KEY)

      The second request always returns null.

      When we remove the custom session id, the session data is avaliable.

              rhn-engineering-rhusar Radoslav Husar
              rlsmith28 Robert Smith (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: