wood burning stoves 2.0*
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat username password" Watch "tomcat username password" New topic
Author

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.
Thanks
Nims H.
Greenhorn

Joined: Jun 07, 2005
Posts: 9
go to TOMCATBASEDIR/conf
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
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

"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.

bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat username password
 
Similar Threads
Tomcat 6 Invalid UserName and Password Unauthorized
changed the config file but still not working
Unable to access Tomcat Manager Application(http://localhost:8080/manager
Deployment error with Netbeans 6 Beta 2
Tomcat Manager and Admin Login