title: Session replication not working in glassfish on multi node cluster
body: <p>Session replication not working in glassfish on multi node cluster  </p>
  
  <p>1) application  contains distributable tag in web.xml 
  2) application when deployed in cluster c1, which contains 2 instances present on same node, session replication works.
  3) Same application when deployed in cluster c2, which contains 2 instances present on two CentOS machines, session replication does not works.</p>
  
  <p>Following are content of glassfish-web.xml (if required for reference) : </p>
  
  <pre><code>&lt;glassfish-web-app error-url=""&gt;
      &lt;session-config&gt;
          &lt;session-manager persistence-type="replicated"&gt;
              &lt;manager-properties&gt;
                  &lt;property name="persistenceFrequency" value="web-method" /&gt;
                  &lt;property name="relaxCacheVersionSemantics" value="true"/&gt;
              &lt;/manager-properties&gt;
              &lt;store-properties&gt;
                  &lt;property name="persistenceScope" value="session" /&gt;
              &lt;/store-properties&gt;
          &lt;/session-manager&gt;
          &lt;!--&lt;cookie-properties&gt;
          &lt;property name="cookieDomain" value="node2"/&gt;
          &lt;property name="cookieDomain" value="node4"/&gt;
          &lt;/cookie-properties&gt; --&gt;
          &lt;cache max-entries="4096" timeout-in-seconds="30" enabled="false"&gt;
              &lt;default-helper/&gt;
          &lt;/cache&gt;
      &lt;/session-config&gt;
      &lt;context-root&gt;/contextNaam&lt;/context-root&gt; 
      &lt;class-loader delegate="true"/&gt;
      &lt;resource-ref&gt;
          &lt;res-ref-name&gt;jdbc/safe&lt;/res-ref-name&gt;
          &lt;jndi-name&gt;jdbc/safe&lt;/jndi-name&gt;
      &lt;/resource-ref&gt;
      &lt;jsp-config&gt;
          &lt;property name="keepgenerated" value="true"&gt;
              &lt;description&gt;Keep a copy of the generated servlet class' java code.&lt;/description&gt;
          &lt;/property&gt;
      &lt;/jsp-config&gt;
  &lt;/glassfish-web-app&gt;  
  </code></pre>
  
  <p>Edit : 1) Does not seems to be a UDP communication issue between 2 centos machines.
  2) Tried to create tcp-cluster as mentioned in HA-administration-guide also, but still same effect, session not replicated on tcpcluster. </p>