Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7AC2B200B12 for ; Sun, 12 Jun 2016 17:29:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7940E160A2C; Sun, 12 Jun 2016 15:29:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BFF98160A04 for ; Sun, 12 Jun 2016 17:29:52 +0200 (CEST) Received: (qmail 26331 invoked by uid 500); 12 Jun 2016 15:29:51 -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 26320 invoked by uid 99); 12 Jun 2016 15:29:51 -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; Sun, 12 Jun 2016 15:29:51 +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 E56DA180572 for ; Sun, 12 Jun 2016 15:29:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Lh5TtM8QxE5O for ; Sun, 12 Jun 2016 15:29:48 +0000 (UTC) Received: from mail-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 648025F295 for ; Sun, 12 Jun 2016 15:29:48 +0000 (UTC) Received: by mail-qg0-f45.google.com with SMTP id l44so56280014qgd.0 for ; Sun, 12 Jun 2016 08:29:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=/8JlAOHNhcHoVHqacHahWPt/qmWZ8cO2xiLvL7fl6zw=; b=vprfQmgHnm4oVqjOJXBDQIO1dIpiTOMClY9GIfdonOXW/yWG1VfwRze239JXX1yDmZ 1kmL6NQviRuqiuMRzJ18lF2/tEHuaEKHwRYM6Lqq6aiQUJezv6slOA0wVqflnE3JMzIr lQigKPtglH9t9vWc1JCC1IrJsUTiIgqFGP5k8dKItSGd0ch468g4VfV3RgciXG/j1SyW AQAH2bQbr+92Hv9GqLbCwj/aNE5jIw2UjzX81nDtZM8Y6UY/dgQyngcc4/SA36MMxOuR VdnE9+Wt8JTPaQgzvvBnCParQp2wksJQX/sBASfvRNCLZAn9iWKilBVWxilTf7wK4apq QXUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=/8JlAOHNhcHoVHqacHahWPt/qmWZ8cO2xiLvL7fl6zw=; b=d58lg0X2x4oqAYNt1T9zfMcP4/RUX7XOtSd8Uwhjfi5JCsZ2y/AhhWstQRXHP+n18i HXEPUFs5q3H6cDeoQOCyAoFRmLzrD+6Q091HJ5sTkHMt51vMUQDo2dW37tuU509z0Hkt wsDvdcY0tjV4y9O95Z+SD4fdqQigeDycnfmNUk3UXfyqnyzKjmZ/kWRgFhCXshRL7iw6 l1ADmdb85vHUwBfNz39OLM92Fp6fR7PVFtf3obbdBR5dK2S3x+mbFo5NmBq8kBstqyBp O5MQP6OW8Y0q4mb5eYNESwThT6l+IMm0eFMJZvTkHfIXBP/gBtMnYoyOvb0v96CqMMDP xruQ== X-Gm-Message-State: ALyK8tLzJ7kt96urf2qxdJdI1RNY3SWB7vTUCC7oeWUW63razm4vXGN1atcfwy9n3iY4eSB9IMqcH0INqhwrDw== X-Received: by 10.140.156.149 with SMTP id c143mr11034509qhc.58.1465745381796; Sun, 12 Jun 2016 08:29:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.47.59 with HTTP; Sun, 12 Jun 2016 08:29:22 -0700 (PDT) In-Reply-To: <31e8933a-e88f-0fdb-d8dc-86855a1a8f72@verizon.net> References: <2a833c94-3aac-dac7-a2ba-3a5148db3acd@verizon.net> <31e8933a-e88f-0fdb-d8dc-86855a1a8f72@verizon.net> From: Daniel Savard Date: Sun, 12 Jun 2016 11:29:22 -0400 Message-ID: Subject: Re: Updating Apache Tomcat to a current version To: Tomcat Users List Content-Type: multipart/alternative; boundary=001a113a0c40d0321305351670f6 archived-at: Sun, 12 Jun 2016 15:29:53 -0000 --001a113a0c40d0321305351670f6 Content-Type: text/plain; charset=UTF-8 2016-06-12 9:20 GMT-04:00 paul.greene.va : > > I got copies of both 7.0.53 and 7.0.69 off the Tomcat website, and > installed .53 first on a vmware vm, then tried running .69 over it to see > if it was just an easy upgrade, but it looks like Tomcat doesn't make the > upgrade that easy. > > It is unclear here if you have the HP application installed or not on 7.0.53 in you VM. If you don't, it is pointless to backup any content. The idea of the backup is to keep a copy of the working configuration for reference. > So, if I understand your suggestions correctly, would the following plan > of action work - > > Make a backup of everything under C:\Program Files\Apache Software > Foundation\Tomcat 7.0\, in particular conf and webapps > Remove the current version of Tomcat (.53) > Install most recent version (.69) > Copy the contents of the conf and webapps folder back to the new install > > No, don't blindly copy contents. You can copy the WAR file in the webapps folder. But you shouldn't just copy over the conf content. Usually, only the server.xml is modified and you must look at the actual content and adapt to your particular needs. The old copy being a reference provided it is not just a vanilla copy. > There is a *.keystore file and a keystore.jks files in the root of > C:\Program Files\Apache Software Foundation\Tomcat 7.0\ - I'm guessing they > are probably needed as well to get SSL working correctly (?) > > If you have SSL enabled you should look into the server.xml for the files you need to keep. You can relocate them provided you update the location in the server.xml. > Should that do the trick? > > You must understand what you are doing. You cannot just blindly copy everything and expect it to work. Usually, the Tomcat configuration is in conf/server.xml and the web application configuration is in webapps/whatever_name/WEB-INF/web.xml. However, with HP you may also have other files in WEB-INF to edit to configure the application properly. > (I'm not familiar with WAR files - is that the normal way to install new > apps into Tomcat?) > WAR is the standard to distribute web applications. Regards, ----------------- Daniel Savard --001a113a0c40d0321305351670f6--