glassfish
  1. glassfish
  2. GLASSFISH-20988

session replication occasionally not work on different physical machine

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      JDK1.7, Glassfish 3.1.2,apache 2.4.4

      Description

      I create a cluster using above mentioned enviroment. In this cluster, we have two different physical machine. We name them instance1 and instance2.
      But the session replication between the two physical machine occasionally doesn't work. When the login request is sent to instance1, a session is created and the authentication information is stored in this session. When another new request for query data is forwarded by apache server to the instance2, the ssesion of instance1 is not correctly replicated from instance1. So there is no authentication information in instance2. Then the new request cannot query data from instance2.

      I read before reported bugs for GF 3.1.1, and it indicates that this session replication lost bug has been fixed in GF 3.1.2. But for us, this bug is still exist. How can we fix this issue.

      This is our glassfih-web.xml

      <glassfish-web-app error-url="">
      <context-root>/</context-root>

      <session-config>
      <session-manager persistence-type="replicated">
      <manager-properties>
      <property name="persistenceFrequency" value="time-based"/>
      <property name="reapIntervalSeconds" value="30"/>
      <property name="relaxCacheVersionSemantics" value="true"/>
      </manager-properties>
      <store-properties>
      <property name="persistenceScope" value="session"/>
      </store-properties>
      </session-manager>
      </session-config>
      </glassfish-web-app>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            makschim
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: