To enable access to the Manager Web application, you must
either create a new username/password combination and associate one of the
manager roles with it, or add a manager role to some existing username/password
combination. To do that:
1.
Go to Tomcat
installation directory > conf > tomcat-users.xml. Example C:\apache-tomcat-6.0.35\conf]\
tomcat-users.xml Figure1
2.
Add the following two lines Figure 2:
<role rolename="manager-gui"/>
<user username="admin" password="admin"
roles="manager-gui"/>
3.
Save it and restart tomcat.
4.
This will create a user called admin which used
by the individual to log on, with the role of manager-gui
Figure 1 Open tomcat-users.xml |
Figure 2 Add the highlighted two lines |
Comments
Post a Comment