This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

Tomcat 7.0 Manager's Username and Password

Rupal Rshah

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

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


With Regards & Thanks

Tom Reilly

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

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.
I agree. Here's the link:
subject: Tomcat 7.0 Manager's Username and Password
It's not a secret anymore!