6 Replies Latest reply on Aug 15, 2006 1:13 PM by Michael Kov

    Session is getting replicated on JBoss-4.0.1 only one time.

    Michael Kov Newbie

      I have 2 linux servers running jboss 4.0.1 and using jboss-cache.jar 1.2.4.
      Session replication is working correctly ONLY first time, after both servers has been restarted. So the second time whenever i change the values of the session (i even tried to create a new one) they have not been replicated across ..
      In my test.jsp I am using this: request.getSession().setAttribute("test","test1") ; request.getSession().getAttribute("test") ;
      Here is configuration I am using:
      In web.xml : (both servers)


      In jboss-web.xml : (both servers)
      <replication-config> <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>

      In tc5-cluster-service.xml
      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
      <attribute name="CacheMode">REPL_SYNC</attribute>
      <UDP mcast_addr="" mcast_port="45577" bind_addr=""
       ip_ttl="64" ip_mcast="true"
       mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
       ucast_send_buf_size="150000" ucast_recv_buf_size="80000"

      bind_addr="" is set for second server.
      In jbossweb-tomcat50.sar/META-INF/jboss-service.xml (both servers)

      Thanks in advance!