File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes tomcat manager login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat manager login" Watch "tomcat manager login" New topic
Author

tomcat manager login

Mohsen Jamali
Greenhorn

Joined: Sep 22, 2012
Posts: 2
Hi guys,
After searching the web about how to deploy a war file on Tomcat. i came to the conclusion that i should change the /etc/tomcat6/tomcat-users.xml file and add sth like this :



but after after adding this two lines ang going to localhost:8080/manager/html and entering admin as user and pass it doesn't accept it.
what's wrong me.
thanks
gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924
    
    1

i know it may sound silly but did you tried restarting tomcat ??

also one common mistakes one can make is removing commented lines from tomcat-user.xml whih starts with either # sign for single line comments and <!-- --> end for multiline comments. even if you have added those lines but FORGOT to remove the comment markers it wont pick the new setting.

if everything above is fine please post what error you are getting

Regards
Mohsen Jamali
Greenhorn

Joined: Sep 22, 2012
Posts: 2
gurpeet singh wrote:i know it may sound silly but did you tried restarting tomcat ??

also one common mistakes one can make is removing commented lines from tomcat-user.xml whih starts with either # sign for single line comments and <!-- --> end for multiline comments. even if you have added those lines but FORGOT to remove the comment markers it wont pick the new setting.

if everything above is fine please post what error you are getting

Regards

forgot to uncomment usernames and roles!
thanks
 
Don't get me started about those stupid light bulbs.
 
subject: tomcat manager login