2 Replies Latest reply on Mar 27, 2007 4:03 AM by fsoumil

    Approach for deploying a new application

    fsoumil

      Hi,

      We are using jboss for a rather large web application.
      We do monthly upgrade of this application and I was wondering how we could set up a system for deploying the application without disturbing too much their users.
      Let me be more precise...
      I would like to be able to stop new visitors to start a new session and let the currently active users finish their session so that we know that the system can be safely restarted without breaking anyone's session.
      Would some of you have experience to share in that domain ?

      Thanks a lot for your help

        • 1. Re: Approach for deploying a new application
          risenhoover


          Why don't you join two instances of Jboss into a cluster, so that the session state is shared across the two instances. Put the two machines behind an apache load balancer using mod_jk.

          Then, when it's time to upgrade, you can take one server out of the balancer mix, upgrade the codeline, and then put it back in the mix. Then do the same with the other. IF done correctly, nobody should lose their sessions.

          • 2. Re: Approach for deploying a new application
            fsoumil

            The current setup is sticky load balancing. There are 2 application servers but isolated from each other.
            Anyway, thanks for your idea