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

Tomcat 8 container integration does not add jvm-route to JSESSIONID when generated by UUIDJvmRouteFactory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.4.0.Final, 2.0.0.Final
    • 1.3.1.Final, 1.4.0.Alpha1
    • Core + SPIs
    • None

    Description

      If jvmRoute attribute is not set in server.xml on engine element, ModClusterService generates a jvmRoute (UUID). This UUID is not added in the value of the cookie "jsessionid", so the sticky session doesn't work. When the jvmRoute is defined in the server.xml all works fine.

      I known no much about lifecyle in Catalina, but my feeling is that ModClusterService generates the jvmRoute (with JvmRouteFactory)
      after the creation of SessionIdGenerator by the org.apache.catalina.Manager. When ModClusterService injects the generated jvmRoute it's too, the SessionIdGenerator is already created.

      Attachments

        Activity

          People

            rhn-engineering-rhusar Radoslav Husar
            evernier_jira Eric Vernier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: