Tomcat 7.0.23
edit $TOMCAT_HOME/conf/tomcat-users.xml and add a user:
<tomcat-users>
<role rolename="manager-gui" />
<user username="myusername" password="mypassword" roles="manager-gui" />
</tomcat-users>
Access Tomcat Manager:
http://localhost:8080/manager/html
Tomcat 6
edit $TOMCAT_HOME/conf/tomcat-users.xml and add a user:
<tomcat-users>
<role rolename="manager" />
<user username="myusername" password="mypassword" roles="manager" />
</tomcat-users>
Access Tomcat Manager:
http://localhost:8080/manager/html
No comments:
Post a Comment