Create username password for apache tomcat user

sudo vi /opt/tomcat/conf/tomcat-users.xml

<role rolename="manager-gui"/>
     <user password="" roles="manager-script,admin" username=""/>
     <user password="" roles="manager-gui,manager-script,admin" username=""/>

then restart tomcat service
sudo systemctl restart tomcat.service

Leave a Reply

Your email address will not be published.