401 Unauthorized
You are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file must contain the credentials to let you use this webapp.
For example, to add the manager-gui role to a user named tomcat with a password of s3cret, add the following to the config file listed above.
<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>
Note that for Tomcat 6.0.30 onwards, the roles required to use the manager application were changed from the single manager role to the following four roles. You will need to assign the role(s) required for the functionality you wish to access.
manager-gui - allows access to the HTML GUI and the status pages
manager-script - allows access to the text interface and
tomcat 登录用户名 与 密码设置
最新推荐文章于 2024-07-03 15:27:54 发布
本文介绍了如何设置Tomcat Manager的登录用户名和密码。关键步骤是在`tomcat-users.xml`配置文件中进行修改,以此来管理Tomcat服务器上的web工程。
摘要由CSDN通过智能技术生成