tomcat7 cannot access manager/html

This problem is actually very simple. The main changes to the tomcat-user.xml in the conf directory are:

  <role rolename="tomcat"/>

  <role rolename="role1"/>

  <role rolename="manager"/>

  <user username="tomcat" password="tomcat" roles="tomcat"/>

  <user username="both" password="tomcat" roles="tomcat,role1"/>

  <user username="role1" password="tomcat" roles="role1"/>

  <user username="admin" password="" roles="manager-gui"/>

Then save and restart tomcat

 

When accessing manager/html directly, the user name is admin and the password is empty.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326681560&siteId=291194637