tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Connecting and updating the tomcat-users.xml database
Date Tue, 15 Jun 2004 20:32:37 GMT

Straight up file manipulation is one way, but the better way is in deed
the MemoryUserDatabase(Factory) and its JMX operations.  You can see how
the admin webapp does it by looking at the relevant admin webapp code.
Your code needs to be privileged and probably in common classloader in
order to see the class.

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Robert Harper []
>Sent: Tuesday, June 15, 2004 4:33 PM
>To: Tomcat Users
>Subject: Connecting and updating the tomcat-users.xml database
>Is there a way, other than the administration page, to update and read
>tomcat-users.xml database? I tried to use MemoryUsersDatabase but when
>runs, the JVM cannot load the class. Is there some other mechanism or
>accepted way for a servlet to update the database without having to use
>admin tool?
>Robert S. Harper
>Senior Engineer
>1100 East 6600 South, Suite 300
>Salt Lake City, UT 84121-7411
>801.265.8800 ex. 255

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message