1. glassfish
  2. GLASSFISH-20988

session replication occasionally not work on different physical machine


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

      JDK1.7, Glassfish 3.1.2,apache 2.4.4


      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="">

      <session-manager persistence-type="replicated">
      <property name="persistenceFrequency" value="time-based"/>
      <property name="reapIntervalSeconds" value="30"/>
      <property name="relaxCacheVersionSemantics" value="true"/>
      <property name="persistenceScope" value="session"/>


        There are no comments yet on this issue.


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


            • Created: