File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes admin context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "admin context" Watch "admin context" New topic

admin context

shankar vembu
Ranch Hand

Joined: May 10, 2001
Posts: 309
How to access the admin context in tomcat. It asks for a user name and password. Where do i set them?? In server.xml i made trusted="true" in admin context as given in the comments but could not set the password....
sharad goswami
Ranch Hand

Joined: Jan 18, 2001
Posts: 51
i am not very sure but in tomcat/conf u might be having tomcat user file there try and add user and tell me if that is the way.i will also check it out.

Stop The World I Want To Get Off.
shankar vembu
Ranch Hand

Joined: May 10, 2001
Posts: 309
I tried with tomcat-users.xml in conf dir. But tough luck. I tried with all the user entries in that file. I even made an entry myself, but it wont work. I am missing something.....Anybody tried accessing the admin page???
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

You need to assign the management role to one of those users, or better yet, make a new user.

[This message has been edited by Mike Curwen (edited December 12, 2001).]
I agree. Here's the link:
subject: admin context
It's not a secret anymore!