Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Christian Mittendorf
Hello! My scenario is an order application, where my customers can order products. But the software or the design of the pages are changing rapidly. The question is now: how can I deploy a new version without the customer noticing anything? I'm searching for something similar to what

RE: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Ralph Einfeldt
Just a guess: - Use Apache + mod_jk(2) + 2 tomcat instances - Use sticky sessions (look at the jvmRoute of the engine tag) - Use the load factor to distribute 100% of the requests to the first instance. - Update the second instance. - Change the load factor to distribute 100% of the

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Andoni
This is very interesting. Do you think it would copy over the sessions correctly? Surely the think that WO is doing is maintaining all sessions on the old machine until they are shut down. My way of doing this is simply to get up at 3:30am and make the changes then! I am lucky in that 90% of my

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Christian Mittendorf
Am 01.10.2004 um 14:10 schrieb Andoni: Surely the think that WO is doing is maintaining all sessions on the old machine until they are shut down. Yes, that's what WO is doing. You can see it in the Monitor application. Sessions are bound to the application instance. Otherwise changing the way

RE: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Shapira, Yoav
Hi, You are really lucky not to offer your service to thousands of customers. From what I can see in the sales figures, those customers never sleep! And so do the product managers: the best downtime is no downtime :-) Thus I want to keep the version cycle as small as possible. Yes, it's true

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Christian Mittendorf
Hello! It would be really great if we could work out a solution that does the job like the WebObjects Monitor application. Perhaps some kind of howto documentation giving you a step-by-step guide to the setup and usage. There seems to be no Wiki for the Tomcat project page. Is there a tomcat wiki

RE: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Shapira, Yoav
Hi, There seems to be no Wiki for the Tomcat project page. Is there a tomcat wiki where we could collect information? http://wiki.apache.org/jakarta/TomcatProjectPages P.S. Where can I find more information about the balancer? In the Tomcat docs there's one devoted to Balancer. It's not a

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Christian Mittendorf
Am 01.10.2004 um 16:45 schrieb Shapira, Yoav: There seems to be no Wiki for the Tomcat project page. Is there a tomcat wiki where we could collect information? http://wiki.apache.org/jakarta/TomcatProjectPages Thanks, though it does look quite confusing on the first view. It seems as if there is

RE: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Shapira, Yoav
Hi, http://wiki.apache.org/jakarta/TomcatProjectPages Thanks, though it does look quite confusing on the first view. It seems as if there is not much content yet related to tomcat. There isn't that much content on the wiki: mostly links to connector configuration examples provided by other

Re: Howto deploy a new version of my webapp without disturbing the customer?

2004-10-01 Thread Tim Funk
Actually the wiki link is here: http://wiki.apache.org/jakarta-tomcat/ -Tim Shapira, Yoav wrote: Hi, http://wiki.apache.org/jakarta/TomcatProjectPages Thanks, though it does look quite confusing on the first view. It seems as if there is not much content yet related to tomcat. There isn't that