4 Replies Latest reply on Mar 20, 2018 6:23 AM by rhusar

    JESSIONID doesn't have instance id appended

    sarbajeet.senapati

      We recently migrated from JBOSS 6.2 EAP to JBOSS 7.0 EAP and we are facing an issue with JESSIONID generation. We don't see instance id is not getting appended to JESSIONID

       

      Expected is "ScXqx80nQtPYDx11qOz1uoBpwnkKD4vFJQ1n1-pt.Node1"

       

       

      Actual "ScXqx80nQtPYDx11qOz1uoBpwnkKD4vFJQ1n1-pt"

       

       

      Here Node1 is Jboss instance Name.

       

        • 1. Re: JESSIONID doesn't have instance id appended
          pferraro

          Where are you setting the value "Node1"?

          • 2. Re: JESSIONID doesn't have instance id appended
            sarbajeet.senapati

            Hi Paul,

             

            Snippet from from server configuration.--> "Node1.xml" . In below snippet "jboss.node.name" value is "Node1". Our jboss instances are in non cluster mode.

             

            <subsystem xmlns="urn:jboss:domain:undertow:3.1" instance-id="${jboss.node.name}">

                        <buffer-cache name="default"/>

                        <server name="default-server">

                            <ajp-listener name="ajp" socket-binding="ajp" scheme="http"/>

                            <http-listener name="default" socket-binding="http" redirect-socket="https"/>

                            <host name="default-host" alias="localhost">

            <access-log pattern="%h %l %u [%t] &quot;%r&quot; %s %b &quot;%{i,Referer}&quot; &quot;%{i,User-Agent}&quot;"/>

                                <location name="/" handler="welcome-content"/>

                                <filter-ref name="server-header"/>

                                <filter-ref name="x-powered-by-header"/>

                            </host>

                        </server>

                        <servlet-container name="default">

                            <jsp-config/>

                            <websockets/>

                        </servlet-container>

                        <handlers>

                            <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>

                        </handlers>

                        <filters>

                            <response-header name="server-header" header-name="Server" header-value="JBoss-EAP/7"/>

                            <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>

                        </filters>

                    </subsystem>

             

            Thanks,

            Sarbajeet

            • 4. Re: JESSIONID doesn't have instance id appended
              rhusar

              Upgrading to EAP 7.1 or WildFly 11 will fix the problem.