tomcat7默认不允许admin登陆,安装后需要手动进行设置才能登陆

1.在X:\tomact\conf\tomact_user.xml   

<tomcat-users> 

<role rolename="manager-gui"/>

<role rolename="admin-gui"/>

<role rolename="manager-script"/>

<user username="tomcat" password="tomcatb" roles="admin-gui, manager-gui,manager-script"/>

</tomcat-users> 

2.访问管理界面:

http://192.168.0.135:8080/manager/