Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How to add user to Tomcat?

Open following file in your favourite editor :-

$CATALINA_HOME/conf/tomcat-users.xml or
and append the following line at second last line.

<user name=”Username” password=”secret” roles=”admin,manager”/>

Restart tomcat .You should be able to login to tomcat with


Share on Twitter
Share on Facebook