标签:
1.http访问端口,必须配置
2.jpa集群端口,可注释掉
登陆名为admin,登陆密码为admin的用户,指定其权限为manager.修改后的tomcat-user.xml如下: ========================== <?xml version=‘1.0‘ encoding=‘utf-8‘?> <tomcat-users> <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="manager"/> <role rolename="admin"/> <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"/> </tomcat-users>
保存好tomcat-user.xml,重启动tomcat
输入:http://127.0.0.1:8080/ 看到熟悉的tomcat界面;点击“Tomcat Manager”,输入 用户名admin,
密码admin,看到管理界面
标签:
原文地址:http://www.cnblogs.com/qadada/p/4501203.html