Re: Wondering about tomcat-users.xml could not be found

2023-11-17 Thread Christopher Schultz
ls -ld /etc/tomcat9 drwxr-xr-x 4 root root 4096 Nov 16 12:17 */etc/tomcat9* root@mail:/var/lib/tomcat9/webapps/ROOT/WEB-INF/config# Permissions look good, even if the process-owner isn't root. ... and of course that the JVM user can read /var/lib/tomcat9/conf/tomcat-users.xml which I assume

Re: Wondering about tomcat-users.xml could not be found

2023-11-17 Thread Christoph Kukulies
t9 under Ubuntu 22.04 with an haproxy 2.8 in front of it. >>> I'm wondering about the following in the logs: >>> Nov 15 16:19:23 mail tomcat9[832]: Reloading memory user database >>> [UserDatabase] from updated source >>> [file:/var/lib/tomcat9/conf/tomcat

Re: Wondering about tomcat-users.xml could not be found

2023-11-17 Thread Simon Matter
Hi, > I'm running tomcat9 under Ubuntu 22.04 with an haproxy 2.8 in front of it. > > I'm wondering about the following in the logs: > > Nov 15 16:19:23 mail tomcat9[832]: Reloading memory user database > [UserDatabase] from updated source > [file:/var/lib/tomcat9/

Re: Wondering about tomcat-users.xml could not be found

2023-11-16 Thread Christopher Schultz
ing in the logs: Nov 15 16:19:23 mail tomcat9[832]: Reloading memory user database [UserDatabase] from updated source [file:/var/lib/tomcat9/conf/tomcat-users.xml] Nov 15 16:19:23 mail tomcat9[832]: The specified user database [conf/tomcat-users.xml] could not be found Nov 15 16:19:33 mail t

Re: Wondering about tomcat-users.xml could not be found

2023-11-16 Thread logo
he logs: >> Nov 15 16:19:23 mail tomcat9[832]: Reloading memory user database >> [UserDatabase] from updated source >> [file:/var/lib/tomcat9/conf/tomcat-users.xml] >> Nov 15 16:19:23 mail tomcat9[832]: The specified user database >> [conf/tomcat-users.xml] could no

Re: Wondering about tomcat-users.xml could not be found

2023-11-16 Thread Christopher Schultz
[file:/var/lib/tomcat9/conf/tomcat-users.xml] Nov 15 16:19:23 mail tomcat9[832]: The specified user database [conf/tomcat-users.xml] could not be found Nov 15 16:19:33 mail tomcat9[832]: Reloading memory user database [UserDatabase] from updated source [file:/var/lib/tomcat9/conf/tomcat-users.xml]

Wondering about tomcat-users.xml could not be found

2023-11-15 Thread Christoph Kukulies
I'm running tomcat9 under Ubuntu 22.04 with an haproxy 2.8 in front of it. I'm wondering about the following in the logs: Nov 15 16:19:23 mail tomcat9[832]: Reloading memory user database [UserDatabase] from updated source [file:/var/lib/tomcat9/conf/tomcat-users.xml] Nov 15 16:

Re: Problems with tomcat-users.xml

2023-10-10 Thread Mark Thomas
On 10/10/2023 13:03, Mark Linton wrote: Hello Tomcat users. Is there a forum (like a webpage that we can search for previous questions?)... lists.apache.org I am experiencing an issue with logging on to the manager and hosts webpage(s). What issue? Please see the tomcat-users.xml

Problems with tomcat-users.xml

2023-10-10 Thread Mark Linton
Hello Tomcat users. Is there a forum (like a webpage that we can search for previous questions?)... I am experiencing an issue with logging on to the manager and hosts webpage(s). Please see the tomcat-users.xml attached: *Tomcat-users.xml* http://tomcat.apache.org/xml

Re: confusions with conf/tomcat-users.xml setup

2019-07-25 Thread Hu, Zhiliang [AN S]
ger to work properly. Briefly: > > If I set up "conf/tomcat-users.xml" as in: > > > > > -- The "/manager/html/" can get connected and "/host-manager/html" gets > "404 Access Denied"; > > If I set up "conf/tomcat

Re: confusions with conf/tomcat-users.xml setup

2019-07-24 Thread M. Manna
that works for you. Thanks, On Thu, 25 Jul 2019 at 12:35, Hu, Zhiliang [AN S] wrote: > I have Apache Tomcat/7.0.94 installed and running. However I had a hard > time to get to the ManagerApp and Host Manager to work properly. Briefly: > > If I set up "conf/tomcat

confusions with conf/tomcat-users.xml setup

2019-07-24 Thread Hu, Zhiliang [AN S]
I have Apache Tomcat/7.0.94 installed and running. However I had a hard time to get to the ManagerApp and Host Manager to work properly. Briefly: If I set up "conf/tomcat-users.xml" as in: -- The "/manager/html/" can get connected and "/host-manager/html&

Re: tomcat-users.xml dynamic changes

2019-07-10 Thread Mark Thomas
is enabled by default meaning that > changes to $CATALINA_BASE/conf/tomcat-users.xml will now take > effect a short time after the file is saved. > > I did some investigation and want to confirm this feature has been in 9.0, so > that 9.0.20 already operates that way. Yes. The f

tomcat-users.xml dynamic changes

2019-07-10 Thread David Cleary
Mark, I see this feature in the new Tomcat 8.5 release. - Add the ability for a UserDatabase to monitor the backing XML file for changes and reload the source file if a change in the last modified time is detected. This is enabled by default meaning that changes to $CATALINA_BASE/conf/tomcat

Re: Excessive number of tomcat-users.xml open files

2018-11-27 Thread Mark Thomas
> however, the 9.0.13 server keeps hundreds of open files of the following form > (obtained using 'lsof'): > https-jss 30403 30515 ec2-user 1874r REG 259,1 > 216492934 /opt/apache-tomcat-9.0.13/conf/tomcat-users.xml > http-nio- 3

Excessive number of tomcat-users.xml open files

2018-11-27 Thread Chen Levy
following form (obtained using 'lsof'): https-jss 30403 30515 ec2-user 1874r REG 259,1 216492934 /opt/apache-tomcat-9.0.13/conf/tomcat-users.xml http-nio- 30403 30485 ec2-user 1751r REG 259,1 216492934 /opt/apache-tomcat-9

programmatically adding new users to tomcat-users.xml

2018-08-18 Thread Alex O'Ree
I'd like to provide users a mechanism to create their own user accounts via browser instead of requiring access to the server + editing xml files. I found this solution here https://stackoverflow.com/a/39770319/1203182 and i found the APIs here https://tomcat.apache.org/tomcat-8.0-doc/api/org/apac

Re: encrypting passwords in tomcat-users.xml

2017-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Guy, On 11/22/17 1:50 PM, Guy wrote: > Maybe I should ask this in a different way: what are the steps to > use encrypted passwords in tomcat-users.xml under Tomcat 8.0.14? Note that the passwords aren't "encrypted" per se (

Re: encrypting passwords in tomcat-users.xml

2017-11-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dimas, On 11/22/17 5:52 AM, Dimas Souza wrote: > Hi Christopher, > > I've been trying to figure out this issues as well, thank you for > your answer, it has clarified some questions of my own. > > I still have a question about your answer though,

Re: encrypting passwords in tomcat-users.xml

2017-11-22 Thread Guy
Maybe I should ask this in a different way: what are the steps to use encrypted passwords in tomcat-users.xml under Tomcat 8.0.14? I know what they are in Tomcat 8.0.37. They're both versions of Tomcat 8.0.x, so why does something that works in one not work in the other? Does the serve

Re: encrypting passwords in tomcat-users.xml

2017-11-22 Thread Dimas Souza
Hi Christopher, I've been trying to figure out this issues as well, thank you for your answer, it has clarified some questions of my own. I still have a question about your answer though, see below: On 11/20/17 10:53 PM, Christopher Schultz wrote: >Guy, > >On 11/20/17 1:23 PM, Guy Mac wrote: >>

Re: encrypting passwords in tomcat-users.xml

2017-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Guy, On 11/20/17 1:23 PM, Guy Mac wrote: > I'm failing to figure out how to encrypt passwords for (slightly) > different versions of Tomcat 8.0.x on different platforms. Some background: older versions of Tomcat only supported single-round hashing

encrypting passwords in tomcat-users.xml

2017-11-20 Thread Guy Mac
I'm failing to figure out how to encrypt passwords for (slightly) different versions of Tomcat 8.0.x on different platforms. With Tomcat 8.0.37 on MacOS, I run digest.sh with a password, placing the output in tomcat-users, and update the Realm for the Catalina engine to:       resourc

Re: Using hashes in tomcat-users.xml

2016-09-27 Thread Paquin, Brian
Handler" >> algorithm="SHA-256" iterations=“24680" saltLength="18" /> >> >> And then using: /usr/local/tomcat/bin/digest.sh -a SHA-256 -i 24680 >> -s 18 secret_password >> >> And got back: >> secret_password:9618b621a88f

Re: Using hashes in tomcat-users.xml

2016-09-27 Thread Christopher Schultz
sr/local/tomcat/bin/digest.sh -a SHA-256 -i 24680 > -s 18 secret_password > > And got back: > secret_password:9618b621a88fcee9c44aa93f39ddb063$58761$8ga9a0896a10f1b 26w91729qfc3786d74ac95223e092faf996500dc532a74905 > > I then added that to my tomcat-use

Re: tomcat-users.xml

2016-09-27 Thread Vincent Hardy
Thank you, it is works : regards vincent 2016-09-27 13:23 GMT+02:00 André Warnier (tomcat) : > Hi. > > It is difficult to be sure, with the extra quoting done by the email > clients, but it seems that you have an extra pair of < > inside the >

Re: tomcat-users.xml

2016-09-27 Thread tomcat
Hi. It is difficult to be sure, with the extra quoting done by the email clients, but it seems that you have an extra pair of < > inside the tomcat-users.xml file. Look between the initial and the first . From your initial post, it looks like this : < ... ... > If s

Re: tomcat-users.xml

2016-09-27 Thread Vincent Hardy
p in 95961 ms thank you for last time. regards, vincent 2016-09-27 9:14 GMT+02:00 André Warnier (tomcat) : > On 27.09.2016 03:36, vincent wrote: > >> Hello all and all, >> >> I can not reach a "host-manager webapp" >> where is the mistake >> >>

Re: tomcat-users.xml

2016-09-27 Thread giac ngo le van
Thank Vào 27-09-2016 14:15, "André Warnier (tomcat)" đã viết: > On 27.09.2016 03:36, vincent wrote: > >> Hello all and all, >> >> I can not reach a "host-manager webapp" >> where is the mistake >> >> my tomcat-users.xml fi

Re: tomcat-users.xml

2016-09-27 Thread tomcat
On 27.09.2016 03:36, vincent wrote: Hello all and all, I can not reach a "host-manager webapp" where is the mistake my tomcat-users.xml file : < *** where does this "<" come from ? > *** and this ">" ?

tomcat-users.xml

2016-09-26 Thread vincent
Hello all and all, I can not reach a "host-manager webapp" where is the mistake my tomcat-users.xml file : < > vincent

Re: Using hashes in tomcat-users.xml

2016-09-25 Thread Paquin, Brian
On Sep 14, 2016, at 5:37 PM, Christopher Schultz mailto:ch...@christopherschultz.net>> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brian, On 9/14/16 3:40 PM, Paquin, Brian wrote: I was able to setup Tomcat 8.0.35 to use a SHA hashed password in tomcat-users.xml (trying to

Re: Using hashes in tomcat-users.xml

2016-09-16 Thread Coty Sutherland
o setup Tomcat 8.0.35 to use a SHA hashed password in >> tomcat-users.xml (trying to secure the Manager app a bit more), >> but the same setup does not work on 8.5.5. >> >> Is there something I need to change to get this to work again? > > Yes. > >

Re: Using hashes in tomcat-users.xml

2016-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brian, On 9/14/16 3:40 PM, Paquin, Brian wrote: > I was able to setup Tomcat 8.0.35 to use a SHA hashed password in > tomcat-users.xml (trying to secure the Manager app a bit more), > but the same setup does not work on 8.5.5. >

Using hashes in tomcat-users.xml

2016-09-14 Thread Paquin, Brian
I was able to setup Tomcat 8.0.35 to use a SHA hashed password in tomcat-users.xml (trying to secure the Manager app a bit more), but the same setup does not work on 8.5.5. Is there something I need to change to get this to work again? server.xml engine

RE: $CATALINA_HOME/conf/tomcat-users.xml - access deneid

2013-11-16 Thread Caldarale, Charles R
> From: ישראל מלאכי [mailto:alayc...@gmail.com] > Subject: Fwd: $CATALINA_HOME/conf/tomcat-users.xml - access deneid > My employer wants my to put a war file on tomcat server installed in by > http://198.57.249.59:8080/ hostgator.com > problem is that I can't get to the app

Fwd: $CATALINA_HOME/conf/tomcat-users.xml - access deneid

2013-11-16 Thread ישראל מלאכי
Hello My employer wants my to put a war file on tomcat server installed in by http://198.57.249.59:8080/ hostgator.com problem is that I can't get to the app manger since I don't have usernameand password. I know that I should edit the above file, I tried through putty but access to file is denie

Re: tomcat-users.xml: name or username as attribute of element ?

2013-02-12 Thread Mark Thomas
On 12/02/2013 17:11, Sabrina Lautier wrote: > Hi, > > [Tomcat version: 7.0, OS: Windows 7 en] > > I wrote a java prg that gets the name and password of a user who has > manager-script as role in file tomcat-users.xml. > The current entry found in that file is: > >

Re: tomcat-users.xml: name or username as attribute of element ?

2013-02-12 Thread Daniel Mikusa
On Feb 12, 2013, at 12:11 PM, Sabrina Lautier wrote: > Hi, > > [Tomcat version: 7.0, OS: Windows 7 en] > > I wrote a java prg that gets the name and password of a user who has > manager-script as role in file tomcat-users.xml. > The current entry found in that file is:

tomcat-users.xml: name or username as attribute of element ?

2013-02-12 Thread Sabrina Lautier
Hi, [Tomcat version: 7.0, OS: Windows 7 en] I wrote a java prg that gets the name and password of a user who has manager-script as role in file tomcat-users.xml. The current entry found in that file is: , it was created during the tomcat installation process and I haven't edited it since

RE: manager trying to use JAASRealm vice tomcat-users.xml

2011-10-12 Thread Lund, Holly (CONTR)
Thanks Change to ?xml in tomcat-users.xml and uncommmenting additional Realm config fixed issue Holly Lund EES, LLC, Contractor to the United States Department of Energy 1000 Independence Avenue, SW Washington, DC 20585 Phone:202-586-4431 Email:holly.l...@hq.doe.gov -Original Message

Re: manager trying to use JAASRealm vice tomcat-users.xml

2011-10-12 Thread Christopher Schultz
kup in the document preceding > the root element must be well-formed. This is a different problem: Tomcat-users.xml < -xml version='1.0' encoding='utf-8'?>

RE: manager trying to use JAASRealm vice tomcat-users.xml

2011-10-12 Thread Lund, Holly (CONTR)
Tomcat-users.xml < -xml version='1.0' encoding='utf-8'?> Error in catalina,out on startup Oct 12, 2011 12:45:35 PM org.apache.catalina.realm.JAASRealm setContainer INFO: Set JAAS app name Catalin

RE: manager trying to use JAASRealm vice tomcat-users.xml

2011-10-12 Thread Caldarale, Charles R
> From: Lund, Holly (CONTR) [mailto:holly.l...@hq.doe.gov] > Subject: manager trying to use JAASRealm vice tomcat-users.xml > Tomcat 6.0.32 and java 1.6 on solaris 10 Good to know; thanks. > Uncommented the connector 8080 That's very odd, since that is not commented ou

manager trying to use JAASRealm vice tomcat-users.xml

2011-10-12 Thread Lund, Holly (CONTR)
Tomcat 6.0.32 and java 1.6 on solaris 10 Uncommented the connector 8080 and changed port to 37799 (due to firewall constraints) added user for manager-gui and role for manager-gui in tomcat-users.xml When I try to log into manager get following error in catalina.out Oct 12

Re: New TC 7 tomcat-users.xml can't login (401)

2011-07-12 Thread chris derham
On Tue, Jul 12, 2011 at 6:57 PM, David Brown wrote: > Hi, I have a new TC 7 running. I have RTFM on the new changes for the > User realm using the new roles: manager-gui and admin-gui but all I get > is 401. server.xml seems to default to usage of the tomcat-users.xml. > Any ide

New TC 7 tomcat-users.xml can't login (401)

2011-07-12 Thread David Brown
Hi, I have a new TC 7 running. I have RTFM on the new changes for the User realm using the new roles: manager-gui and admin-gui but all I get is 401. server.xml seems to default to usage of the tomcat-users.xml. Any ideas of how to diagnose are welcomed

Re: Update the tomcat-users.xml file to reflect the new roles?

2010-11-05 Thread Mark Thomas
On 05/11/2010 11:27, Brooke Hedrick wrote: > Hey, > > Would it make sense to update the conf/tomcat-users.xml file to account for > the new roles? Providing a tomcat-users.xml file that includes a default user with a known password that has access to an administrative interface w

Update the tomcat-users.xml file to reflect the new roles?

2010-11-05 Thread Brooke Hedrick
Hey, Would it make sense to update the conf/tomcat-users.xml file to account for the new roles? Here's my patch: 34a35,42 > > > > > > > >

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-06 Thread paul geer
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. Clicki

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread David Smith
f 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 t

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread André Warnier
t 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 expec

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread Ken Bowen
ork 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&

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread paul geer
t; > > 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

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-01 Thread Pid
t-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 &g

changing tomcat-users.xml makes tomcat unresponsive

2010-05-01 Thread paul geer
ot;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/tomc

Re: tomcat-users.xml and manager role

2009-09-09 Thread Bruce Nourish
Yup, looks like I'm just retarded. Thanks. On Wed, Sep 9, 2009 at 12:02 PM, Caldarale, Charles R wrote: >> From: bruce.nour...@gmail.com [mailto:bruce.nour...@gmail.com] >> On Behalf Of Bruce Nourish >> Subject: tomcat-users.xml and manager role >> >> >

RE: tomcat-users.xml and manager role

2009-09-09 Thread Caldarale, Charles R
> From: bruce.nour...@gmail.com [mailto:bruce.nour...@gmail.com] > On Behalf Of Bruce Nourish > Subject: tomcat-users.xml and manager role > > > A common error is to forget to remove the comment characters from around the and elements. Post your entire tomcat-users.xml

Re: tomcat-users.xml and manager role

2009-09-09 Thread Tim Funk
This worked fine for me conf/tomcat-users.xml - make sure this is the full XML file: (and then restart tomcat) -Tim Bruce Nourish wrote: Hi, I have a 6.0.20 Tomcat binary distribution downloaded and untarred directly from the Tomcat site. My system is Ubuntu 8.04 with Java version

tomcat-users.xml and manager role

2009-09-09 Thread Bruce Nourish
Hi, I have a 6.0.20 Tomcat binary distribution downloaded and untarred directly from the Tomcat site. My system is Ubuntu 8.04 with Java version 1.5.0_16. When I configure the manager role precisely as directed in the 401 Error message: I am still unable to access the manager -- the basic auth

Re: tomcat-users.xml on Tomcat6

2009-08-26 Thread André Warnier
Zaki Akhmad wrote: On Tue, Aug 25, 2009 at 2:28 PM, André Warnier wrote: That does not look like a login error, it looks like a "server error". What does the Tomcat log say ? Here's the log: [1]/var/log/tomcat6/localhost.2009-08-***. [2]/var/log/tomcat6/catalina.2009-08-. It looks

Re: tomcat-users.xml on Tomcat6

2009-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zaki, On 8/25/2009 10:55 PM, Zaki Akhmad wrote: > On Tue, Aug 25, 2009 at 2:28 PM, André Warnier wrote: >> >> That does not look like a login error, it looks like a "server error". >> What does the Tomcat log say ? > > Here's the log: > [1]/var/log/t

Re: tomcat-users.xml on Tomcat6

2009-08-25 Thread Zaki Akhmad
On Tue, Aug 25, 2009 at 2:28 PM, André Warnier wrote: > > That does not look like a login error, it looks like a "server error". > What does the Tomcat log say ? Here's the log: [1]/var/log/tomcat6/localhost.2009-08-***. [2]/var/log/tomcat6/catalina.2009-08-. -- Zaki Akhmad [1] Aug

Re: tomcat-users.xml on Tomcat6

2009-08-25 Thread André Warnier
Zaki Akhmad wrote: Hello, I've failed login on manager webapp and host-manager webapp. I've add the manager and admin role on tomcat-users.xml [/etc/tomcat6/tomcat-users.xml]. The status is HTTP Status 500. That does not look like a login error, it looks like a "server error&

Re: tomcat-users.xml on Tomcat6

2009-08-25 Thread Michael Ludwig
Zaki Akhmad schrieb: I've failed login on manager webapp and host-manager webapp. I've add the manager and admin role on tomcat-users.xml [/etc/tomcat6/tomcat-users.xml]. The status is HTTP Status 500. What's the message in the error log? Did you restart Tomcat? Did y

tomcat-users.xml on Tomcat6

2009-08-24 Thread Zaki Akhmad
Hello, I've failed login on manager webapp and host-manager webapp. I've add the manager and admin role on tomcat-users.xml [/etc/tomcat6/tomcat-users.xml]. The status is HTTP Status 500. I am using Debian Lenny (Testing). -- Z

Re: Digested passwords stored in tomcat-users.xml by admin application?

2009-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kurt, On 7/22/2009 6:17 PM, Kurt Heberlein wrote: > Thanks Chuck - > > Sorry - yes v5.5, and i am referring to the admin webapp that came > with it. I have to allow for end-users that don't want to use LDAP, nor > another DB (I know it is stupid).

RE: Digested passwords stored in tomcat-users.xml by admin application?

2009-07-22 Thread Kurt Heberlein
-Kurt On Wed, 2009-07-22 at 15:05 -0700, Caldarale, Charles R wrote: > > From: Kurt Heberlein [mailto:ku...@3pardata.com] > > Subject: Digested passwords stored in tomcat-users.xml by admin > > application? > > > > is there a way to make the admin application &

RE: Digested passwords stored in tomcat-users.xml by admin application?

2009-07-22 Thread Caldarale, Charles R
> From: Kurt Heberlein [mailto:ku...@3pardata.com] > Subject: Digested passwords stored in tomcat-users.xml by admin > application? > > is there a way to make the admin application If you're referring to the admin application that comes with older versions of Tomcat, that&

Digested passwords stored in tomcat-users.xml by admin application?

2009-07-22 Thread Kurt Heberlein
Hi all, I know this is probably a common question, but i can't find an answer that is satisfactory. If i configure tomcat to use digested passwords in server.xml, is there a way to make the admin application write them digested in the event a password is changed or a new user is created?? Each

RE: virtual hosts and tomcat-users.xml

2009-04-28 Thread Martin Gainty
; Date: Tue, 28 Apr 2009 15:10:02 -0700 > Subject: virtual hosts and tomcat-users.xml > From: cheshira...@gmail.com > To: users@tomcat.apache.org > > I am setting up a handful of virtual hosts on a server, and I have the > manager app configured as per the docs. How do I configur

virtual hosts and tomcat-users.xml

2009-04-28 Thread Chris Cheshire
I am setting up a handful of virtual hosts on a server, and I have the manager app configured as per the docs. How do I configure the security for the manager app such that each virtual host has its own tomcat-users.xml though, so that the credentials of one virtual host can't be used log

Re: Pros and cons of readonly UserDatabase (tomcat-users.xml)

2009-01-08 Thread Richard Eggert
The MemoryUserDatabaseMBean will write to tomcat-users.xml if its "save" method is invoked via JMX. Rich On Thu, Jan 8, 2009 at 5:11 AM, Kees Jan Koster wrote: > Dear Petr, > >> any comment on this subject? The question is related to OpenSolaris >> package >>

Re: Pros and cons of readonly UserDatabase (tomcat-users.xml)

2009-01-08 Thread Kees Jan Koster
package auditing. The question is what is limitation of setting user database as readonly (in server.xml) for Tomcat 6.0.18 and having tomcat-user.xml and conf directory owned by root. Does tomcat-users.xml ever have to be written from Tomcat? I routinely run with tomcat-users.xml as read

Pros and cons of readonly UserDatabase (tomcat-users.xml)

2009-01-08 Thread Petr Sumbera
Hi all, any comment on this subject? The question is related to OpenSolaris package (*) where we have all files owned by root and tomcat is executed with dedicated user credentials. Currently tomcat-user.xml and conf directory is owned by tomcat user but it makes some noise in our package auditi

Re: HowTo update tomcat-users.xml without restarting tomcat

2008-11-27 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Hello everybody, > > I need to update the tomcat-users.xml quite often in a productive > environment. Therefore it would be nice to have a possibility to update the > file without the need for restarting tomcat. > > I tried to define the res

Re: HowTo update tomcat-users.xml without restarting tomcat

2008-11-27 Thread Pieter Temmerman
I think that is not possible. In production, the best option would be to use a database or LDAP directory to store your accounts. On Thu, 2008-11-27 at 10:39 +0100, [EMAIL PROTECTED] wrote: > Hello everybody, > > I need to update the tomcat-users.xml quite often in a productive >

HowTo update tomcat-users.xml without restarting tomcat

2008-11-27 Thread Andreas.Huck
Hello everybody, I need to update the tomcat-users.xml quite often in a productive environment. Therefore it would be nice to have a possibility to update the file without the need for restarting tomcat. I tried to define the resource UserDatabase as reloadable but that didn't work out.

RE: tomcat-users.xml file becomes unusable

2008-11-15 Thread Caldarale, Charles R
> From: Joe Bolin [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat-users.xml file becomes unusable > > jakarta-tomcat-5.5.4-6 That's not a real Tomcat, but rather a 3rd-party repackaged - and frequently broken - version. Try installing a proper one from tomcat.apache.org and se

Re: tomcat-users.xml file becomes unusable

2008-11-15 Thread Joe Bolin
at 4:53 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Joe Bolin [mailto:[EMAIL PROTECTED] > > Subject: tomcat-users.xml file becomes unusable > > > > We are seeing a sporadic issue where the tomcat-users.xml > > file changes in some way. The "

RE: tomcat-users.xml file becomes unusable

2008-11-14 Thread Caldarale, Charles R
> From: Joe Bolin [mailto:[EMAIL PROTECTED] > Subject: tomcat-users.xml file becomes unusable > > We are seeing a sporadic issue where the tomcat-users.xml > file changes in some way. The "file" command repots the type > as 'data' rather than XML. What vers

tomcat-users.xml file becomes unusable

2008-11-14 Thread Joe Bolin
We are seeing a sporadic issue where the tomcat-users.xml file changes in some way. The "file" command repots the type as 'data' rather than XML. The byte size doesn't change. Once it changes, tomcat process still runs but is inaccessible via web and no logging appears to

Re: about tomcat-users.xml

2008-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, nocturna_gr wrote: > i am not sure i have understood right about the tomcat-users.xml file... > Where are the basic roles defined? There are no basic roles defined for Tomcat in general. The tomcat-users.xml file allo

about tomcat-users.xml

2008-11-14 Thread nocturna_gr
Hi, i am not sure i have understood right about the tomcat-users.xml file... Where are the basic roles defined? I had some problems getting the "admin" and "manager" account working and added a "standard" role, which however doesn't appear in the admin web in

Re: Tomcat 6.0.18 empties tomcat-users.xml

2008-10-10 Thread Robert Hufsky
: From: Robert Hufsky [mailto:[EMAIL PROTECTED] Subject: Tomcat 6.0.18 empties tomcat-users.xml Before starting, $CATALINA_HOME/conf/tomcat-users.xml contains the default user entries. Look again - they're all commented out. After starting Tomcat, $CATALINA_HOME/conf/tomcat-users.xml is p

RE: Tomcat 6.0.18 empties tomcat-users.xml

2008-10-09 Thread Caldarale, Charles R
> From: Robert Hufsky [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6.0.18 empties tomcat-users.xml > > Before starting, $CATALINA_HOME/conf/tomcat-users.xml contains the > default user entries. Look again - they're all commented out. > After starting Tomcat, $CATALINA_HOM

Tomcat 6.0.18 empties tomcat-users.xml

2008-10-09 Thread Robert Hufsky
Hi, I installed Tomcat 6.0.18 on Mac OS 10.4.11 / java version "1.5.0_16" and Ubuntu Hardy / java version "1.6.0_06" and in both cases I get the following strange behaviour: Before starting, $CATALINA_HOME/conf/tomcat-users.xml contains the default user entries. A

Re: tomcat-users.xml MD5 sum

2008-09-10 Thread Konstantin Kolinko
2008/9/10 Niki Diulgerov <[EMAIL PROTECTED]>: > I implemented aide monitoring on tomcat (and the webapps) yesterday and > today faced a very strange problem. > tomcat-users.xml seems the same file (it contents) but aide reports MD5 and > SHA different checksums. > is it pos

tomcat-users.xml MD5 sum

2008-09-10 Thread Niki Diulgerov
hello There, I implemented aide monitoring on tomcat (and the webapps) yesterday and today faced a very strange problem. tomcat-users.xml seems the same file (it contents) but aide reports MD5 and SHA different checksums. is it possible that on restart apache tomcat to change (or recreate

Re: tomcat-users.xml user and role elements?

2008-08-06 Thread Mark Thomas
firtzel wrote: Trying to get things rolling here... does anyone have an answer to this one? This is open source so if you want to know how things work you do always have the option of looking at the source yourself. The file you want (for 5.5.x0 is: http://svn.apache.org/viewvc/tomcat/contai

Re: tomcat-users.xml user and role elements?

2008-08-05 Thread firtzel
on (this is > taken from http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html > tomcat-5.5 realm how-to documentation ): > > The users file (by default, conf/tomcat-users.xml must be an XML document, > with a root element . Nested inside the root element will be > a element

tomcat-users.xml user and role elements

2008-07-31 Thread firtzel
y default, conf/tomcat-users.xml must be an XML document, with a root element . Nested inside the root element will be a element for each valid user, consisting of the following attributes: * name - Username this user must log on with. * password - Password this user must log on with (in cl

Re: How to prevent deletion of comments from tomcat-users.xml

2008-04-20 Thread Markus Schönhaber
Ben Stover wrote: > As far as I noticed all comments in tomcat-users.xml > > are striped off after Tomcat started. > > How do I prevent this deletion of comments (permanently)? In server.xml, add readonly="true" to the UserDatabase , for

RE: How to prevent deletion of comments from tomcat-users.xml

2008-04-20 Thread Caldarale, Charles R
> From: Ben Stover [mailto:[EMAIL PROTECTED] > Subject: How to prevent deletion of comments from tomcat-users.xml > > As far as I noticed all comments in tomcat-users.xml > are striped off after Tomcat started. > How do I prevent this deletion of comments (permanently)? Other

How to prevent deletion of comments from tomcat-users.xml

2008-04-20 Thread Ben Stover
As far as I noticed all comments in tomcat-users.xml are striped off after Tomcat started. How do I prevent this deletion of comments (permanently)? Ben - To start a new topic, e-mail: users@tomcat.apache.org To

RE: Activate immediately changes in server.xml and tomcat-users.xml? How to refresh?

2008-04-19 Thread Caldarale, Charles R
> From: Ben Stover [mailto:[EMAIL PROTECTED] > Subject: Activate immediately changes in server.xml and > tomcat-users.xml? How to refresh? > > How can I tell Tomcat to refresh his config information > (=re-read the config files)? The only straightforward way is via restart,

Activate immediately changes in server.xml and tomcat-users.xml? How to refresh?

2008-04-19 Thread Ben Stover
Assume Tomcat is currently running. Now I change some entries in the server.xml or tomcat-users.xml As far as I can see these entries are not immediately active. How can I tell Tomcat to refresh his config information (=re-read the config files)? Is there a way without full shutdown + restart

Re: Am I stuck in the tomcat-users.xml?

2008-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matheus, Matheus Rezende wrote: | Thats my question, theres another way to store the users of my webApp?? Yes. Use a Realm other than UserDatabaseRealm. There are many different ways to check authentication information. See http://tomcat.apache.org

Re: security with tomcat-users.xml

2008-04-12 Thread Christopher Schultz
arate apps (in separate JVMs) and other things like that. You can certainly still use the Netbeans-bundled Tomcat version... just make sure that tomcat-users.xml is under "Documents and Settings" instead of "Program Files". - -chris -BEGIN PGP SIGNATURE- Version: GnuPG

RE: security with tomcat-users.xml

2008-04-12 Thread ChrisFromStPete
. CATALINA_HOME C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14 CATALINE_BASE C:\Documents and Settings\TheRightStuff\.netbeans\6.0\apache-tomcat-6.0.14_base -- View this message in context: http://www.nabble.com/security-with-tomcat-users.xml-tp16528580p16650260.html Sent from the

  1   2   >