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
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
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/
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
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
[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]
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:
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
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
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
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
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&
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
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
> 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
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
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
-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 (
-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,
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
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:
>>
-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
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
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
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
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
>
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
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
>>
>>
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
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 ">" ?
Hello all and all,
I can not reach a "host-manager webapp"
where is the mistake
my tomcat-users.xml file :
<
>
vincent
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
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.
>
>
-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.
>
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
> 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
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
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:
>
>
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:
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
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
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'?>
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
> 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
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
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
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
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
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
>
>
>
>
>
>
>
>
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
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
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
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&
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
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
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
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
>>
>>
>
> 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
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
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
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
-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
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
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&
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
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
-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).
-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
&
> 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&
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
; 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
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
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
>>
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
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
[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
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
>
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.
> 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
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 "
> 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
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
-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
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
:
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
> 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
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
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
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
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
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
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
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
> 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
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
> 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,
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
-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
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
.
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 - 100 of 135 matches
Mail list logo