Tomcat7/8访问Manager以及Host Manager
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tomcat7/8访问Manager以及Host Manager相关的知识,希望对你有一定的参考价值。
修改配置tomcat-users.xml文件添加如下内容:vim /usr/local/tomcat/conf/tomcat-users.xml
<role rolename="admin"/> <role rolename="admin-gui"/> <role rolename="admin-script"/> <role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="manager-jmx"/> <role rolename="manager-status"/> <user username="admin" password="admin" roles="admin,admin-gui,admin-script,manager-gui,manager-script,manager-jmx,manager-status"/>
tomcat8还需创建manager.xml文件:vim /usr/local/tomcat/conf/Catalina/localhost/manager.xml
<Context privileged="true" antiResourceLocking="false" docBase="${catalina.home}/webapps/manager"> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" /> </Context>
参考博文:http://blog.csdn.net/weixian52034/article/details/53218584
以上是关于Tomcat7/8访问Manager以及Host Manager的主要内容,如果未能解决你的问题,请参考以下文章
Tomcat 8 配置访问Host-Manager(Centos系统)在线部署war包
tomcat里的几类日志: Catalina(catalina.out,catalina.log) localhost manager admin host-manager
启动tomcat报host-manager does not exist or is not a readable di