Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 24185 invoked from network); 2 May 2005 18:05:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 May 2005 18:05:27 -0000 Received: (qmail 79344 invoked by uid 500); 2 May 2005 18:06:10 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 79299 invoked by uid 500); 2 May 2005 18:06:10 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 79255 invoked by uid 99); 2 May 2005 18:06:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of nir.tayeb@gmail.com designates 64.233.162.197 as permitted sender) Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.197) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 02 May 2005 11:06:10 -0700 Received: by zproxy.gmail.com with SMTP id 34so2451910nzf for ; Mon, 02 May 2005 11:04:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ISphAkL22feEGJBVddsUXHUOncIPs8i2sD40USOMttLOprwzel4u8tGa1DvS5tYgbEXPOAePallzCki4+RJQtmfuAPkLWO6XfMk3wjet1W68fdH0XYQEA8K/G82piEBQ5UpwOApKgARQQ3Rf/o5yNyAoJK9acg7jZ3CnL3dhkiA= Received: by 10.36.9.6 with SMTP id 6mr565347nzi; Mon, 02 May 2005 11:04:38 -0700 (PDT) Received: by 10.36.4.5 with HTTP; Mon, 2 May 2005 11:04:38 -0700 (PDT) Message-ID: <3d2372230505021104dd9f0b2@mail.gmail.com> Date: Mon, 2 May 2005 21:04:38 +0300 From: Nir Tayeb Reply-To: Nir Tayeb To: Tomcat Users List Subject: Re: Tomcat Administration problem In-Reply-To: <42761A21.8010404@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3d237223050501120861ebfa76@mail.gmail.com> <8f1005a105050121457b84f422@mail.gmail.com> <42761A21.8010404@cornell.edu> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It works :-D but after every edit I restarted the server, it is very strange :-S Thank you very much :-) On 5/2/05, David Smith wrote: > In addition to the advice below, did you restart Tomcat after updating > tomcat-users.xml? Last I knew this file wasn't reparsed after startup. > Could be wrong on that though. >=20 > If you want the authentication to be updateable while tomcat is running, > use a database realm. Docs should be available in server.xml. >=20 > --David >=20 > Anto Paul wrote: >=20 > >On 5/2/05, Nir Tayeb wrote: > > > > > >>I will try to explain, > >> > >>When I enter the default web app > >>($CATALINA_HOME/webapps/ROOT/index.jsp) by typing 127.0.0.1:8080 in > >>the address-bar. > >> > >>In the side bar I choose "Tomcat manager" under "Administration" and I > >>am prompted for a username and a password. > >> > >>Trying to login with "manager" or "admin" roles failes. > >> > >>What can I do? > >> > >>On 5/1/05, Caldarale, Charles R wrote: > >> > >> > >>>>From: Nir Tayeb [mailto:nir.tayeb@gmail.com] > >>>>Subject: Re: Tomcat Administration problem > >>>> > >>>>I have created a user with a role of "manager", and I login with his. > >>>>but yet, the server prompt me for a username and password. > >>>> > >>>> > >>>The "manager" role is for the manager app; you must have an "admin" ro= le > >>>to use the admin app. > >>> > >>> - Chuck > >>> > >>>THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETA= RY > >>>MATERIAL and is thus for use only by the intended recipient. If you > >>>received this in error, please contact the sender and delete the e-mai= l > >>>and its attachments from all computers. > >>> > >>>--------------------------------------------------------------------- > >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > >>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > >>> > >>> > >>> > >>> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > >> > >> > >> > >> > > > >You should have a similar entry to the following in conf\tomcat-users.xm= l. > > > >This declares the user manager has access to manager application > >without any password. > > > > For above configuration to work you need to configure Tomcat to > >use the tomcat-users.xml to read user authentication information. > >Tomcat is shipped configured to use this setup. If somebody has > >changed it to use database or any other authentication realm you will > >have to add the manager username,password and role in that realm. > > You can check which configuration Tomcat is using by looking for > >the element in server.xml. Mine is > > > > > debug=3D"0" resourceName=3D"UserDatabase"/> > > > >This uses the UserDatabaseRealm which reads the file conf\tomcat-users.x= ml > > > >Hope this helps > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org