peter duong wrote:

> hi,
> i tried to use admin function in tomcat but donot know the initial
> username and password. could you please help ?
> tia

I normally would not reply to this because its in the wrong list
(tomcat-dev as opposed to tomcat-user), but I feel it is enough of a
documentation error that the developers should consider doing something
about it.

I've not got tomcat here (only at work) so excuse any lack of precision
on filenames etc.   If you look at the something-or-other-users.xml file
under
[yourtomcatinstalldir]/conf you'll find a couple example users and
password and their roles.  Add one called "admin" give him a password of
your choosing and whatever other roles plus "admin".   (this part is not
documented anywhere that I could find easily, If I missed it appologize
in advance).   Then go to sever.xml  and change the admin context to be
"trusted".   Now the admin app should work.

-Andy


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Reply via email to