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

Broken design: session cookie name should be specified on the Context level instead of the Engine level

    XMLWordPrintable

Details

    Description

      In web.xml [2], user is allowed to configure cookie name per context. However, in MCMP [1] this configuration is only propagated on the CONFIG - org.jboss.modcluster.container.Engine level.

      This essentially means that user configuring a cookie name different from the default / or default host configuration will have broken session stickiness.

      [2]
      https://developer.jboss.org/wiki/Mod-ClusterManagementProtocol

      [1]

            <xsd:element name="name"
                         type="javaee:cookie-nameType"
                         minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
      
                  The name that will be assigned to any session tracking
                  cookies created by this web application.
                  The default is JSESSIONID
                  
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: