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

ZK session timeout on JBoss AS 7 cluster issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.4
    • 6.5.2
    • None
    • Security Level: Jimmy
    • JBoss AS 7 with Apache 2.2 in front

      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

        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

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

              Created:
              Updated:
              Resolved: