tomcat管理界面登录无法进入
来源:互联网 发布:uu淘宝店 编辑:程序博客网 时间:2024/06/10 03:39
问题:
在打开tomcat界面之后,点击Manger App准备进入管理界面,路径:http://localhost:8080/manager/html。 输入正确的用户名和密码,但是出现401界面。
准备如下
首先在 tomcat /conf/ tomcat-users.xml
中添加了
<role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="manager-jmx"/><role rolename="manager-status"/> <user username="admin" password="admin" roles="manager-gui,manager-script,manager-jmx,manager-status"/>
该配置,但是重启tomcat之后,输入正确的用户名和密码, 还是无法进入Manger App ,直接进入401.
解决办法:
被该问题困扰了很久,最后还是成功解决了,希望能帮到被次问题困扰的人。
1,重新下载tomcat安装版,我用的是解压版的,然后重新配置就好了。很是无语。
2,重新使用解压版的,将安装版的tomcat-users.xml 覆盖解压版的tomcat-users.xml,然后就好了。
完整的配置为:
<!-- NOTE: By default, no user is included in the "manager-gui" role required to operate the "/manager/html" web application. If you wish to use this app, you must define such a user - the username and password are arbitrary.--><!-- NOTE: The sample user and role entries below are wrapped in a comment and thus are ignored when reading this file. Do not forget to remove <!.. ..> that surrounds them.--> <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>
可以直接复制上面的到 tomcat-users.xml 保存运行就可以了。
阅读全文
1 0
- tomcat管理界面登录无法进入
- tomcat无法进入管理应用
- tomcat无法进入管理页
- ubuntu 14.04 登录界面无法进入系统
- tomcat 管理界面无法登陆
- linux下tomcat 管理端无法进入
- linux - tomcat 管理端无法进入
- tomcat 7无法进入管理页面
- Redhat无法进入登录界面,系统修复命令
- Ubuntu 12.04 LTS 安装gnome后 无法进入登录界面
- 微信小程序服务器端部署好后报错,后台无法进入登录界面
- 教程:Ubuntu无法进入登录界面或登录界面异常的一个解决办法
- ubuntu 安装nvidia 驱动后无法进入桌面(循环进入登录界面 )
- ubuntu 安装nvidia 驱动后无法进入桌面(循环进入登录界面 )
- apache-tomcat-7.0.11无法进入Manager管理App项目
- tomcat搭建成功后,无法进入管理页面的解决方法
- tomcate进入管理界面
- Ubuntu12.04 图形界面登录输入正确密码后无法进入桌面又跳转到登录界面
- 栈和队列——生成窗口最大值数组
- CSS样式之复合选择器
- SPOJ 1557 GSS2 线段树
- 字符串数组的相互转换
- Mac下python路径
- tomcat管理界面登录无法进入
- Tensorflow + ResNet101 + fasterRcnn 训练自己的模型 数据(一)
- python机器学习4-5代码及运行结果
- Eclipse里调出Tomcat server视图
- linux下一个C++线程安全的单例模式
- map函数的应用:UVa156-Ananagrams
- FFmpeg的编译与运行
- python学习刷题
- Android:dimen尺寸资源文件的使用