2 Replies Latest reply on Sep 12, 2003 3:17 AM by jean

    Http session replication / hot deployment / Jetty

    jean

      Hi,
      I'm running JBoss 3.2.2RC3 / Jetty 4.2.11 under Linux RH 7.3

      Using two Nodes and JGstore replication, failover is working well as HTTP sessions are replicated accross nodes.

      However, when I'm updating my web application (dropping the new file in farm/ directory) Jetty restart the webapp context in both nodes and all my HTTP sessions are lost !!

      Does anybody know if it is possible to avoid this, and possibly not by using "ClusterStore HTTP session replication scheme" as JGstore seems way faster.

      thkx
      jb


        • 1. Re: Http session replication / hot deployment / Jetty
          slaboure

          does it work if you first use the first node, wait for redeployment, and then deploy on the other node (i.e. not using /farm but both /deploy folders?)

          Cheers,


          sacha

          • 2. Re: Http session replication / hot deployment / Jetty
            jean

            Hi, in fact playing with "ScanPeriod" attribute in farm-service.xml solved my problem :
            Now when I'm updating something my first node is redeploying quite fast, while my second node is waiting a bit more before updating the webapp. So The second node is able to feed the first node with existing sessions before it restarts itself and loose the sessions.
            Thanks for you reply, though
            jb