1. Go to folder apache tomcat for example : C:\apache-tomcat-7.0.84\conf
2. Open file tomcat-users.xml by Notepad
3. Focus tag
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="both" roles="tomcat,role1"/>
<user username="role1" password="role1" roles="role1"/>
Uncomment all tag or add another user and user role
4. Open command
go to apache-tomcat-7.0.84\bin
> shutdown
> Enter
5. Open command
go to apache-tomcat-7.0.84\bin
> startup
> Enter
6. Success.