File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes tomcat username password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat username password" Watch "tomcat username password" New topic

tomcat username password

Michael Carlson
Ranch Hand

Joined: Sep 11, 2005
Posts: 78
I'm trying to run a simple web app in netbeans using tomcat server, but it I get this message:
Access to Tomcat Server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.
I have tried many things and have not had any luck.
Nims H.

Joined: Jun 07, 2005
Posts: 9
edit file tomcat-users.xml
add following as role if not there

and then add user or modify any user by adding these two roles. like
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

"Nims H.", you have previously been warned on five occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional, and this is your final warning. Adjust your display name to comply with the required standards prior to your next post.

Failure to comply will result in the removal of your account.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: tomcat username password
jQuery in Action, 3rd edition