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
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: 923
    
    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


OCPJP 6(100 %) OCEWCD 6(91 %) OCPJBCD(93%)
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat manager login
 
Similar Threads
Problem with security
changed the config file but still not working
What's the initial username/password for Tomcat administration?
why getting 404 error? page is there.
Tomcat 6.0.32 HTTP Status 403 - Access to the requested resource has been denied