vi conf/tomcat-user.xml
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="1234" roles="admin,manager"/>
</tomcat-users>
vi conf/tomcat-user.xml
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="1234" roles="admin,manager"/>
</tomcat-users>