Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1896

ZK session timeout on JBoss AS 7 cluster issue

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.2
    • Fix Version/s: 6.5.4
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
    • Environment:

      JBoss AS 7 with Apache 2.2 in front

      Description

      Either session is not replicated correctly or replicated session is not detected on server-side. This causes the page to timeout on next request after a cluster node fails
      Environment:
      Setup JBoss cluster with 2 nodes. Create test app with ZK Maven Archetype for ee-eval.
      Steps to reproduce:
      1. Load index.zul (observe session id which shall contain node id for eg. YsMHmxDa9SEkur-N2nvGHB4P.standalone-nodeA)
      2. Increase count by clicking count button
      3. Stop/Terminate the current node serving requests from step 1 and 2
      4. Click count once more
      Expected:
      Count is increased and session id should be same but with suffix changed to second node id YsMHmxDa9SEkur-N2nvGHB4P.standalone-nodeB)
      Actual:
      Page shows zk timeout message and have to reload. Completely new session is created to serve this new page load

        Attachments

        1. httpd.conf
          18 kB
        2. jboss-web.xml
          0.8 kB
        3. standalone-ha.xml
          19 kB
        4. standalone-ha.xml
          19 kB
        5. web.xml
          6 kB
        6. zk.xml
          0.5 kB

          Issue Links

            Activity

              People

              • Assignee:
                vincentjian vincentjian
                Reporter:
                ashishd ashishd
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: