新装的tomcat5.0.8
默认配置无法进入Administration的
Status
Tomcat Administration
Tomcat Manager
在tomcat-users.xml加入管理员即可,如下:
-
<?xml version='1.0' encoding='utf-8'?>
-
<tomcat-users>
-
<role rolename="manager"/>
-
<role rolename="tomcat"/>
-
<role rolename="admin"/>
-
<role rolename="role1"/>
-
<user username="tomcat" password="tomcat" roles="tomcat"/>
-
<user username="both" password="tomcat" roles="tomcat,role1"/>
-
<user username="admin" password="admin" roles="admin,manager"/>
-
<user username="role1" password="tomcat" roles="role1"/>
-
</tomcat-users>
用admin登录,密码也是admin
广告:
===========================================
===========================================
久坐不利于健康哦!适时起来活动活动吧~
阅读(1789) | 评论(0) | 转发(0) |