tomcat linux system in marager click on the login page appears not jump click Cancel reported 401 status code to solve the problem log

Environmental tomcat 8.5.53 jvm 1.8.0_151 Aliyun Linux 2.19.03


From 11 in the morning to find a tutorial to find finally succeeded in the evening to see the world feel on top of the interface cheering    

 

I once suspected a link to install tomcat does not make things right but still found the registration problem is /usr/local/tomcat/bin/tomcat-users.xml 

1  <role rolename="tomcat"/>
2   <role rolename="role1"/>
3   <role rolename="manager"/>
4   <role rolename="admin"/>
5   <role rolename="manager-gui"/>
6   <user username="tomcat" password="tomcat" roles="tomcat"/>
7   <user username="both" password="tomcat" roles="tomcat,role1"/>
8   <user username="role1" password="tomcat" roles="role1"/>
9   <user username="admin" password="你的密码" roles="admin,manager,manager-gui"/>

After tomcat8.5 ip has been restricted to just find a solution to this blog has not recorded 

Guess you like

Origin www.cnblogs.com/nosouln/p/12601634.html