[英]Unable to access Manager app on Tomcat 7.0.39
I'm unable to access the manager app. 我无法访问经理应用。
I've added the manager-gui role to the tomcat-users.xml file ...& added the same role to the tomcat user, ... 我已将manager-gui角色添加到tomcat-users.xml文件中......并将相同的角色添加到tomcat用户,...
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager-gui"/>
<user username="tomcat" password="tomcat" roles="tomcat,manager-gui"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
... I've also tried this to no avail ... ...我也试过这个无济于事......
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager-gui"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="admin" password="admin" roles="manager-gui"/>
</tomcat-users>
Is there something else I need to do? 我还需要做些什么吗? The docs read that this is all that is necessary ...
文档认为这是必要的......
I've stopped & restarted the server after all changes ... 在所有更改后我停止并重新启动服务器...
使用“service tomcat7 start / restart”启动服务将解决您的问题
@ Eclipse @Eclipse
Access the file "tomcat-users.xml" @ C:\\Users\\MyUserName\\workspace\\Servers\\Tomcat v7.0 Server at localhost-config\\ 在localhost-config \\访问文件“tomcat-users.xml”@ C:\\ Users \\ MyUserName \\ workspace \\ Servers \\ Tomcat v7.0 Server
and add the lines... 并添加行...
<?xml version="1.0" encoding="UTF-8"?>
<tomcat-users>
<role rolename="manager-gui"/>
<user username="tomcat" password="12345" roles="manager-gui"/>
</tomcat-users>
Hopefully this will fix the problem. 希望这将解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.