Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 53643 invoked from network); 2 May 2010 17:38:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 May 2010 17:38:25 -0000 Received: (qmail 73210 invoked by uid 500); 2 May 2010 17:38:22 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 73078 invoked by uid 500); 2 May 2010 17:38:21 -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 73069 invoked by uid 99); 2 May 2010 17:38:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 May 2010 17:38:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sdp0et@gmail.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pw0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 May 2010 17:38:16 +0000 Received: by pwi6 with SMTP id 6so770570pwi.18 for ; Sun, 02 May 2010 10:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=+k4PQPMI5b6mmc0+MywIzswy/+WUw9SUceUQgP1s/F8=; b=DOi4XaJYbtnc+2bBfQFu5tF9oPXI9UiWc3kD7i7o+ZHDkb0x9V1XwQXlUv8x4qZbjM HO/AXdPyPDIWokRK5XHnMBjFPJRg9lvs8JAPwRLPEVkEoykIFtMWjevQGw/iNlNmnSzG OJQlOFC+mTCeNR6ig69UT3CdBy9n/FdPuCiug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dP2V6pQzhHkhvoAkiyjDlO6kpNyD0aIlpMSdsoy1tOSkprVpD1ZANDHr4ZXO6D++xe OfjlM8OPo1TyAhQyIBT18xdkFzM1zDJ00oN/Sj0dcEFrAfa49WRG7JbchBaaNj79bqKs bn/4C5Ss2Hd8KTQo4XVpZ/kCxF/biqFVp7rV8= MIME-Version: 1.0 Received: by 10.142.207.17 with SMTP id e17mr8843386wfg.81.1272821876382; Sun, 02 May 2010 10:37:56 -0700 (PDT) Received: by 10.142.212.1 with HTTP; Sun, 2 May 2010 10:37:56 -0700 (PDT) In-Reply-To: <4BDC85D0.5060101@pidster.com> References: <4BDC85D0.5060101@pidster.com> Date: Sun, 2 May 2010 12:37:56 -0500 Message-ID: Subject: Re: changing tomcat-users.xml makes tomcat unresponsive From: paul geer To: Tomcat Users List , pid@pidster.com Content-Type: multipart/alternative; boundary=000e0cd29e26cddeb004859fef55 --000e0cd29e26cddeb004859fef55 Content-Type: text/plain; charset=ISO-8859-1 Thank you for the reply. Do you mean the original installation of ubuntu or tomcat? I restored the tomcat settings back to the original state, but cannot see that an examples app is pre-installed. If it's something I need to deploy myself, I'm not sure how to do that without access to the management console. If you meant the original 8.4 ubuntu, I was hoping to try other solutions before doing that. I'm completely willing to, as I'm not attached to anything I've done, but since it's inconvenient I would rather wait. On Sat, May 1, 2010 at 2:49 PM, Pid wrote: > On 01/05/2010 18:19, paul geer wrote: > > Hello all, > > > > I had an installation of ubuntu 8.04 that I recently upgraded to 9.10. I > > barely used it before the upgrade so the system was very close to a fresh > > install of 8.04 before the upgrade. > > > > I installed tomcat6 with apt-get. After setting everything up, I checked > > that I could access the "It works" default page from both inside my home > > network and would accept outside connections. Clicking the link for the > > manager console prompted me for a username and password, but since I had > not > > yet made changes to tomcat-users.xml, it failed as expected. > > > > I edited the file (/etc/tomcat6/tomcat-users.xml), uncommented the > > "existing" users and added a manager role and a manager user with that > > role. Upon restarting the server, any attempt to connect to the server > > locally or externally causes the browser to "spin" as if loading a page > but > > with no results. I will sit and spin for hours if I let it (I have) > without > > timing out. > > > > I have tried various permutations of users in the file, such as > uncommenting > > the original ones and not adding a manager role or user, adding the role > to > > one of the default users, etc, but the only way to get the index page to > > actually load again is to comment out all users. > > > > Web searches of this issue have only turned up instances of people not > > realizing the users were commented out and editing the file anyway. > > > > Also, /var/logs/tomcat6 does not contain any logs. I've used updatedb and > > locate to verify that there aren't other tomcat-users files elsewhere. > I've > > also been unable to locate an alternate log directory. > > > > Thanks for any help the community can offer. Enjoy your weekend, > > If you revert to the original installation, does the /examples app work? > > Does using the examples app generate log files in the expected location? > > > p > > > --000e0cd29e26cddeb004859fef55--