Tomcat 8配置Manager管理模块
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