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 43ABFC41D for ; Tue, 8 May 2012 16:17:24 +0000 (UTC) Received: (qmail 8482 invoked by uid 500); 8 May 2012 16:17:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 8246 invoked by uid 500); 8 May 2012 16:17:20 -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 8237 invoked by uid 99); 8 May 2012 16:17:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 16:17:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of todd.seidenberg@gmail.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pb0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 16:17:15 +0000 Received: by pbbro12 with SMTP id ro12so8789270pbb.18 for ; Tue, 08 May 2012 09:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9ubDxWufH9drZ3GtnunY7uQzxmJ93pF2q47wQFE8N7g=; b=XyPy87WFYbRW8I+vIC13FZLcryjVlsJW/JfQNyAf5fWhy4GT4tI4y9ejWwOwRBK/97 yuMxsO86T6gwOJob8up73l6dhiHxmPjCnCrCzNoyzfP/krhkgI1gaVJl2sIHDKwcg3RJ uhB5lcwMvTvUDze4vnLUxs3FUYi3xB9m0V+ChBYIjMF72N1uCJOqAr2zDrCtGtuDWeI2 GEwHOxLE3xWPt316Ar407K2KZUAIwAWK7KAl4EbAIq1MOx4BqoZEBpSupm8C5+VoL3hX UR68EJBkruJtsZ4dcmH9m8ydIj1C7rqGGOyEh6MqAnpoIlgD0rwKrhbosOpv5WK29QW/ 5rPg== MIME-Version: 1.0 Received: by 10.68.135.226 with SMTP id pv2mr9846312pbb.127.1336493815647; Tue, 08 May 2012 09:16:55 -0700 (PDT) Received: by 10.68.24.101 with HTTP; Tue, 8 May 2012 09:16:55 -0700 (PDT) In-Reply-To: <4FA8373F.3080102@ice-sa.com> References: <99C8B2929B39C24493377AC7A121E21FB01990DF59@USEA-EXCH8.na.uis.unisys.com> <4FA2D0FC.6040701@ice-sa.com> <99C8B2929B39C24493377AC7A121E21FB01990E2A2@USEA-EXCH8.na.uis.unisys.com> <99C8B2929B39C24493377AC7A121E21FB01990E43D@USEA-EXCH8.na.uis.unisys.com> <4FA318DF.6090203@christopherschultz.net> <4FA3E9F1.7000304@christopherschultz.net> <4FA7F7DB.9040404@gmail.com> <4FA8373F.3080102@ice-sa.com> Date: Tue, 8 May 2012 10:16:55 -0600 Message-ID: Subject: Re: Adding the manager app to a Standalone tomcat install From: Todd Seidenberg To: Tomcat Users List Content-Type: multipart/alternative; boundary=047d7b10c86b204caa04bf88b7d9 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b10c86b204caa04bf88b7d9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, May 7, 2012 at 2:57 PM, Andr=E9 Warnier wrote: > Ognjen Blagojevic wrote: > >> Todd, >> >> On 4.5.2012 22:01, Todd Seidenberg wrote: >> >>> xx.x.32.16 - - [04/May/2012:13:59:05 -0600] "GET /manager/html HTTP/1.1= " >>> 404 991 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, >>> like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 >>> Safari/535.19" >>> xx.x.32.16 - - [04/May/2012:13:59:34 -0600] "GET /manager/html HTTP/1.1= " >>> 404 991 "http://cascade:8090/" "Mozilla/5.0 (X11; Linux x86_64) >>> AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 >>> Chromium/18.0.1025.151 >>> Chrome/18.0.1025.151 Safari/535.19" >>> >> >> Brainstorming... >> >> Did you check access permissions for webapps/manager directory and its >> contents? User running Tomcat must be able to read it. >> >> > And one more thing to try : > - Stop Tomcat > - delete all the Tomcat logfiles (before that, save a copy somewhere, for > later reference) > - delete the directory /usr/local/confluence-4/conf/**Standalone/ and all > its content (Tomcat will regenerate it) > - start Tomcat and try again to access the manager app > - stop Tomcat > - paste the full content here, of the logfile which shows Tomcat being > started and the applications being deployed, up to the end showing Tomcat > being stopped > > Note: the directory /usr/local/confluence-4/conf/**Standalone/ is named > so, instead of the more classic /usr/local/confluence-4/conf/**Catalina/, > because in your server.xml, the tag has been modified, compared = to > the standard Tomcat 6 server.xml. > (the "name" attribute value was changed from "Catalina" to "Standalone"). > (And maybe this has something to do with the issue here; it may in any > case change the way things are being logged) > > Folks, I've solved this problem. I wound up completely removing the Confluence/tomcat directories, and restoring them from a tar'd backup. Once I did that, i took the following steps: - set autodeploy to 'true' in the server.xml file - modified the tomcat-users.xml file and server.xml file to reflect the use of a tomcat-users.xml file - copied the manager directory (from the apache-tomcat-6.0.32/webapps directory from a fresh untarring of the tomcat package) tot he webapps directory - started tomcat. This is all I needed to do. The manager deployed correctly, and created a manager.xml file in the appropriate place. Not sure how things had gotten corrupted before, but they did - so I punted. It appears to have worked. Thanks for everyone's help. - Todd > > > > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --047d7b10c86b204caa04bf88b7d9--