标签:password ddr nbsp 重启tomcat jmx stat pre user add
1.编辑$CATALINA_HOME/conf/tomcat-users.xml,添加如下行:
<role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="manager-jmx"/> <role rolename="manager-status"/> <user username="tomcat" password="tomcat" roles="manager-gui,manager-script,manager-jmx,manager-status"/>
2.编辑$CATALINA_HOME/webapps/manager/META-INF/context.xml
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="^.*$" /> #修改红色字体部分
3.重启tomcat
标签:password ddr nbsp 重启tomcat jmx stat pre user add
原文地址:https://www.cnblogs.com/dinglin1/p/10019347.html