From users-return-271332-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Tue Aug 4 23:00:26 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id BCA3E18057A for ; Wed, 5 Aug 2020 01:00:26 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 74910125C8D for ; Tue, 4 Aug 2020 23:00:15 +0000 (UTC) Received: (qmail 17769 invoked by uid 500); 4 Aug 2020 23:00:12 -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 17758 invoked by uid 99); 4 Aug 2020 23:00:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2020 23:00:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D3E1A181433 for ; Tue, 4 Aug 2020 23:00:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=mail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Ti1c-4xPSLfa for ; Tue, 4 Aug 2020 23:00:09 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.208.4.201; helo=mout.gmx.com; envelope-from=bstewart@iname.com; receiver= Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 62984BB941 for ; Tue, 4 Aug 2020 23:00:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1596582008; bh=PpwU1ThJDe6s67+kHIOp9Uvd7f1tYBPGboZ3DTldRcs=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=xH0+MfeXugfxq3s05713qIZ9AYgxpQkEnk4p+CJ2S7H6MoYShKror0gpMMZxd/kUM A3CcW9DfYn2Qc6lIZqFslsaFtvlqrLwv3qhnRuireADhLXFgt4l/0NRZOz3TqVUNBi vIMfABlAnZXBbLLlcyJYQrefVDajiVCxZ57Nslc0= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Received: from mail-ot1-f46.google.com ([209.85.210.46]) by mail.gmx.com (mrgmxus003 [74.208.5.15]) with ESMTPSA (Nemesis) id 0MBmnB-1jvdvD0rt1-00AmVU for ; Wed, 05 Aug 2020 01:00:08 +0200 Received: by mail-ot1-f46.google.com with SMTP id r21so21347033ota.10 for ; Tue, 04 Aug 2020 16:00:08 -0700 (PDT) X-Gm-Message-State: AOAM533Iy1fMxWnffb1nUJL9gPh3dDrWcCiiTUIOXu5qtfcHqAWTn4/f 9DqceJhMsNEs8GeQ/A+vEMkA8X7x0Ct/i+EZQB8= X-Google-Smtp-Source: ABdhPJy+LDhZV3EZsBn3kGkrO2RW5wyBMOekXyz1I00NELJM1/DslkMkmnSXAla8EU7MQfZdb0ubiSB8+cBamZpe1hc= X-Received: by 2002:a9d:65ca:: with SMTP id z10mr296548oth.295.1596582007579; Tue, 04 Aug 2020 16:00:07 -0700 (PDT) MIME-Version: 1.0 References: <975690B2BF573746AB8454B0F3C5299423998AE0@VDK-EXC16.vdnet.dk> <975690B2BF573746AB8454B0F3C5299423998EA9@VDK-EXC16.vdnet.dk> <7a4e0d48-191d-c52d-9199-a7705e6cc006@christopherschultz.net> <975690B2BF573746AB8454B0F3C52994239991C2@VDK-EXC16.vdnet.dk> <9313353E-1B35-4BBA-B9A0-C1A3E0DC5C3B@apache.org> <6209ac3a-33a1-1320-0523-9d73b96a3527@christopherschultz.net> <7a40da98-015e-083d-9227-19f31ebe2519@christopherschultz.net> <42a5ccf7-8e07-71f0-dd02-a6607c88444a@christopherschultz.net> In-Reply-To: <42a5ccf7-8e07-71f0-dd02-a6607c88444a@christopherschultz.net> From: Bill Stewart Date: Tue, 4 Aug 2020 16:59:40 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9 To: Tomcat Users List Content-Type: multipart/alternative; boundary="0000000000006aa91a05ac1537e6" X-Provags-ID: V03:K1:ud8Te9zqJp3Ghw64ZFfHAa6Pdm0cd9XkAtSpRDZakEetMPhHWsZ PbqHm4S4V8YD4ruOWui5z5OSd0nKwebKrc3EIRW9ng0VpzNNWXSmsg50Jz7AXo+w3n7fWeC EvxNcAM/x7bA7cYcIGh9egXK9/EG7PhDCcu9Fz6kWKEw2+Sm4qfxesQTFzb4fsppYiFCOXC jPTzixKqRfJBrujVVnbpw== X-UI-Out-Filterresults: notjunk:1;V03:K0:OPAkhvB+Qqs=:KHXteeMOk7jj3ssWoIngAq 9efvRpJEkVqpTFNyYpjfY2jZdMaA2cZSO7idZp496BtvFzgoqOxvREY1arK3/f/KbYW1RFpmx iE5yKrM6alUinTnhPHsI6mErbSsAGUCVnqE7EIUxS4b6Qea6KSb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TlTlAKcvMecR/BvtbLf8viRmY4JM37i2uD2mklmXtKK Uz1z7svvXp31TCCQ+5r+dqPaHC7YCtgbwlrN1kw== --0000000000006aa91a05ac1537e6 Content-Type: text/plain; charset="UTF-8" On Tue, Aug 4, 2020 at 4:01 PM Christopher Schultz wrote: I have a client who runs our product on Windows (we usually run it on > Linux) and there are 2-4 separate Tomcat-based services on each node, > so they have "Tomcat 8.5.x for FOO", "Tomcat 8.5.x for BAR", etc. in > their service descriptions. Can they use your installer to upgrade > just one of those with a new Tomcat version? > The alternative installer can only upgrade Tomcat instances it installs. (It can't upgrade instances installed using Apache's installer or manual installations; it doesn't know about those.) The process in your case would be something like this: 1. Document the Tomcat service installation details for the instance you want to replace and back up its config files. 2. Remove it (reverse whatever process you used to install, whether Apache installer, manual, etc.). 3. Install using alternate installer; e.g.: apache-tomcat-a.b.c-setup.exe /instance="FOO" 4. Update the config files, copy application server files, etc. See the documentation - https://github.com/Bill-Stewart/ApacheTomcatSetup - for details. (Without /instance it installs a default instance - i.e., default directory of "\Program Files\Apache Tomcat", "Apache Tomcat" as the service name, etc.) To upgrade (in general): 1. Touch (update timestamps of) config files you don't want the installer to overwrite. 2. Run the above install commands with the new version of the installer. Don't forget the /instance parameter if you used it to install initially (otherwise, the installer will install or upgrade the default instance). Note that each instance installed using the alternate installer (default or otherwise) installs to a separate directory and appears as a separate entry in the Windows "installed application" list. (This is typically the expected behavior for application installations on Windows machines.) I certainly don't claim that the alternative installer is suitable for all applications and configurations, but for fairly common use cases on Windows machines, the two-step upgrade process noted above (I think) is pretty simple. Bill --0000000000006aa91a05ac1537e6--