Re: tomcat-users.xml dynamic changes

2019-07-10 Thread Mark Thomas
On 10/07/2019 17:01, David Cleary wrote: > 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

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 > tomcat-users.xml file. > > Loo

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 so, the extra "<

Re: tomcat-users.xml

2016-09-27 Thread Vincent Hardy
Thank you all. Thank you for the time I personally do not see anything abnormal in files next log : 27-Sep-2016 12:36:49.410 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger

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 file : >> >> >> >> >> >> < *** where does this "<" come from ? >> > >

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 ">" ? and what does the tomcat logfile say ?

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: > > , it was created during the tom

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: > > , it was created duri

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 >> >> >> > > A common error is to forget to remove

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 so we can look at it

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 1.5.0

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". What does the To

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 you read the doc concerni

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
jakarta-tomcat-5.5.4-6 I don't have a copy of the changed file. Here is the original, passwords removed. As soon as we see this again I'll post the changed one. permission on the original file are 0600. owner is apache, group is an internal name. Thanks, Joe On Fri, Nov 14, 2008 at 4:53 PM, Cal

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 version of Tomcat are you using? What are th

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 possible that on restart apa

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
Trying to get things rolling here... does anyone have an answer to this one? Thanks again, Ophir firtzel wrote: > > Hi, > > I looked at several tomcat configurations, and found that there are a > couple of things that do not "agree" with Tomcat's documentation (this is > taken from http://to

RE: tomcat-users.xml parsing and updating

2008-03-30 Thread Lanny Rosicky
Caldarale, Charles R wrote: > > > Consider using a real authentication mechanism rather than augmenting > this toy. The doc is here: > http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html > > If you want something more flexible than what's in the servlet spec, try > this: > http://source

RE: tomcat-users.xml parsing and updating

2008-03-29 Thread Caldarale, Charles R
> From: Lanny Rosicky [mailto:[EMAIL PROTECTED] > Subject: tomcat-users.xml parsing and updating > > Could you please point me to reading on how to build a web > front end for managing the tomcat-users.xml? Before you spend any time on this effort, perhaps you should take note of this statement

Re: tomcat-users.xml

2008-03-12 Thread Mark Thomas
Mark H. Wood wrote: On Tue, Mar 11, 2008 at 06:37:03PM +, Mark Thomas wrote: Tomcat re-writes the file. Any comments are lost. Real users, groups etc will be kept. Since the question came up, would someone please tell me *why* Tomcat does such a strange thing? Because you can use jmx and

Re: tomcat-users.xml

2008-03-12 Thread Mark H. Wood
On Tue, Mar 11, 2008 at 06:37:03PM +, Mark Thomas wrote: > Tomcat re-writes the file. Any comments are lost. Real users, groups etc > will be kept. Since the question came up, would someone please tell me *why* Tomcat does such a strange thing? -- Mark H. Wood, Lead System Programmer [EMA

Re: tomcat-users.xml

2008-03-11 Thread Rainer Jung
Mark Thomas schrieb: Jong Lee wrote: Whenever I start tomcat, tomcat-users.xml become empty. All of users are disappeared. Any clues about this? Tomcat re-writes the file. Any comments are lost. Real users, groups etc will be kept. Mark ... and if you are using 5.5 or 6.0 you can set the

Re: tomcat-users.xml

2008-03-11 Thread Mark Thomas
Jong Lee wrote: Whenever I start tomcat, tomcat-users.xml become empty. All of users are disappeared. Any clues about this? Tomcat re-writes the file. Any comments are lost. Real users, groups etc will be kept. Mark - To

Re: tomcat-users.xml config in tomcat 6

2007-03-12 Thread Jacob Rhoden
Sorry I should have mentioned, yes I did restart. There are no reported errors with parsing or anything like that. The users file is now currently: Parsons Technical Services wrote: Jacob, Did you restart Tomcat? Can you post your tomcat-users.xml? Doug - Original Message

Re: tomcat-users.xml config in tomcat 6

2007-03-12 Thread Parsons Technical Services
Jacob, Did you restart Tomcat? Can you post your tomcat-users.xml? Doug - Original Message - From: "Jacob Rhoden" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, March 12, 2007 11:12 PM Subject: tomcat-users.xml config in tomcat 6 This is probably something very dumb on

Re: tomcat-users.xml file corruption

2006-01-01 Thread Markus Schönhaber
Nachum, Sagi wrote: > I'm currently working with Tomcat 4.1.31, does it suppose to support the > "readonly" attribute or should I switch to 5.5 version? AFAIR no, the "readonly" attribute was introduced somewhere in the 5.5.x development cycle. Regards mks

RE: tomcat-users.xml file corruption

2006-01-01 Thread Nachum, Sagi
5:19 To: Tomcat Users List Subject: Re: tomcat-users.xml file corruption Nachum, Sagi wrote: > Where should I write the readonly parameter? > here: > >

Re: tomcat-users.xml file corruption

2005-12-28 Thread Markus Schönhaber
Nachum, Sagi wrote: > Where should I write the readonly parameter? > here: > >

RE: tomcat-users.xml file corruption

2005-12-28 Thread Nachum, Sagi
Thanks, Where should I write the readonly parameter? here:

Re: tomcat-users.xml file corruption

2005-12-28 Thread Markus Schönhaber
Nachum, Sagi wrote: > After inquiring a little I discovered that the tomcat-users.xml file > located at conf directory is empty. > After I replaced this file with a valid one, the problem was solved. I > saw some more messages in this and other forums that regard this > problem. > And here's my que