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

session fails when a WebApp is deployed in a glassfish cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • None
    • 5.0.11, 6.0.2
    • Clustering
    • None
    • jdk 1.7, fedora, glassfish 3.1.1 and glassfish 3.1.2.2 , ZKJSP 2.

      I have an old web app in JSP. Now I'm trying to apply some changes with ZKJSP. When I use the application it seems to be perfect and the session is replicated between both instances. But after click 3 or 4 links the session crash and the navigator creates a new one and everything start to fail.

      If I unplug ZK, the session always replicates perfectly, so, it only fail when i deploy the webapp with ZK.

      Also the webapp with ZK runs perfect when the app is deployed without cluster environment.

      Finally, i think that the problem is when you mix ZK + glassfish Cluster.

      I have tried this zk.xml configuration and also without the ClusterSessionPatch listener.

      <system-config>
      <ui-factory-class>org.zkoss.zk.ui.http.SerializableUiFactory</ui-factory-class>
      </system-config>
      <listener>
      <listener-class>org.zkoss.zkplus.cluster.ClusterSessionPatch</listener-class>
      </listener>

        1. zkbug.war
          8.72 MB
          vincentjian

            Unassigned Unassigned
            eldiegos eldiegos
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: