http://localhost:8080/manager/html
App Server:Tomcat 6.0.35
浏览器:firefox 3.6.18
*** 作系统:Centos 5.5
tomcat-users.xml的内容:
<tomcat-users> <role rolename="manager"/> <user username="tomcat" password="tomcat" roles="manager"/></tomcat-users>
我用:sudo ./startup.sh启动了Tomcat
我用:sudo ./shutdown.sh阻止了Tomcat
解决方法 Apache Tomcat 6的角色已根据以下文档的链接进行了更改.http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Configuring_Manager_Application_Access
管理器应用程序定义了四个角色:
manager-gui - Allows access to the HTML interfacemanager-script - Allows access to the plain text interfacemanager-jmx - Allows access to the JMX proxy interfacemanager-status - Allows access to the read-only status pages
对于你的问题,试试这个:
<role rolename="manager"/><role rolename="manager-gui"/><role rolename="admin"/><user username="user" password="password" roles="admin,manager,manager-gui"/>
使用用户名和密码登录.
它100%工作.
总结以上是内存溢出为你收集整理的web-applications – 无法访问Tomcat 6 Manager应用程序全部内容,希望文章能够帮你解决web-applications – 无法访问Tomcat 6 Manager应用程序所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)