Open Tomcat folder then open conf folder and inside tomcat-users.xml file paste following code snippet under <tomcat-users></tomcat-users> node.
My folder location is
C:\Tomcat\apache-tomcat-7.0.41\conf
Note - you can change username and password as you like.
Screen Shot of file
My folder location is
C:\Tomcat\apache-tomcat-7.0.41\conf
Note - you can change username and password as you like.
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user username="tomcat" password="s3cret" roles="manager-gui,manager-script,manager-jmx,manager-status,manager"/>
<user username="admin2" password="admin2" roles="manager-gui,manager-script"/>
Screen Shot of file
No comments:
Post a Comment