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 7.0 Manager's Username and Password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 7.0 Manager Watch "Tomcat 7.0 Manager New topic
Author

Tomcat 7.0 Manager's Username and Password

Rupal Rshah
Greenhorn

Joined: Aug 13, 2010
Posts: 19
Hello everyone,

I configured Tomcat 7.0.6 and could not open the manager\html to manage my applications.
My conf\tomcat-users.xml has been modified to the following
The username and password i am using is admin & admin

<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="manager-gui,tomcat,role1"/>
</tomcat-users>

Thanks
Rupal


With Regards & Thanks

Rupal
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
What response did you get? After you changed your tomcat-users.xml file, did you restart Tomcat?
Rupal Rshah
Greenhorn

Joined: Aug 13, 2010
Posts: 19
Yes, I restarted the tomcat service. IT completely did not accepted the user name and password and showed the same modal window to enter user name and password.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat 7.0 Manager's Username and Password
 
Similar Threads
changed the config file but still not working
JNDI
forget the tomcat credentials
HTTP Status 403
Unable to access Tomcat Manager Application(http://localhost:8080/manager