Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 7.0 Manager's Username and Password

 
Rupal Rshah
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Tom Reilly
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What response did you get? After you changed your tomcat-users.xml file, did you restart Tomcat?
 
Rupal Rshah
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic