Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DFDA691A2 for ; Mon, 31 Oct 2011 03:39:26 +0000 (UTC) Received: (qmail 68476 invoked by uid 500); 31 Oct 2011 03:39:23 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 68323 invoked by uid 500); 31 Oct 2011 03:39:23 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 68309 invoked by uid 99); 31 Oct 2011 03:39:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 03:39:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ellecer@gmail.com designates 209.85.213.45 as permitted sender) Received: from [209.85.213.45] (HELO mail-yw0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 03:39:16 +0000 Received: by ywb3 with SMTP id 3so6869086ywb.18 for ; Sun, 30 Oct 2011 20:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=P0HtjsHGQ85eeXEG+l8oVdwAhgB9ToofKOrgcEwqsFw=; b=G80fvAXlmRUZmtqO2JAf63h0tkouQ3C5IbsoqedacKDvAWqoQR25+UvhH8x88khp81 NSoOH/xQ3/eyYK3CjYgwKzslEItbqeVXbQctQF+KmR0BIG7ysNaX7qevPjxIlZtoEL2f VseUU67fHX2Y3qintdHAbA9wIE8OK+LP3rQyw= Received: by 10.182.77.164 with SMTP id t4mr2518566obw.9.1320032335155; Sun, 30 Oct 2011 20:38:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.15.70 with HTTP; Sun, 30 Oct 2011 20:38:34 -0700 (PDT) In-Reply-To: <4EAB1641.9000608@christopherschultz.net> References: <4EA91812.7030105@apache.org> <4EAB1641.9000608@christopherschultz.net> From: Ellecer Valencia Date: Mon, 31 Oct 2011 14:38:34 +1100 Message-ID: Subject: Re: Rollback in Tomcat7 under parallel deployment To: Tomcat Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi Chris, But how would it cause an outage? ROOT##003 would not necessarily be copied from the file ROOT##001.war It'll be a separate deployment, but just using the same build that got deployed as ROOT##001. Whether ROOT##001 is marked for undeployment should not make a difference to ROOT##003. They will "own" different sessions. Ellecer On Sat, Oct 29, 2011 at 7:53 AM, Christopher Schultz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ellecer, > > On 10/27/2011 7:11 PM, Ellecer Valencia wrote: >> On Thursday, October 27, 2011, Mark Thomas >> wrote: >>> A better way to handle the rollback scenario is to deploy a copy >>> of ROOT##001.war as ROOT#003.war. >> >> That's the first option we saw, but just wanted to confirm that >> there wasn't another rollback feature similar to parallel >> deployment. I guess in a rollback scenario it's probably more >> prudent to just end those sessions since the app is broken anyway. >> The idea of "parallel rollback" hurts my head just imagining how it >> would be implemented! =) > > I might be worried that ROOT##001 had been marked for > eventual-undeployment and you might find yourself in a situation where > your "rollback" essentially causes an outage. > > Mark, can you confirm the behavior in this situation? The (brief) > documentation says that the "latest version" will be used if a session > does not yet exist. Is the "latest version" defined as the highest > version number yet deployed (in which case the above scenario will > occur) or is it defined as the highest version number currently deployed? > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk6rFkEACgkQ9CaO5/Lv0PBR9ACghJGnUy7tSYzmo7MJNA73eWsZ > GYAAnR/7fvwFtzeFRcnhhouAW88VOrBX > =zn6f > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org