Step 1 – Stop your tomcat service
Stop Script – C:\tools\apache-tomcat-9.0.79\bin\shutdown.bat
Step 2 – Go to “conf’ directory of tomcat home path.
e.g – C:\tools\apache-tomcat-9.0.79\conf
Step 3 – Open up a file “tomcat-users.xml” and add following lines in the file as per the image below; Make sure your remember username and password

Step 4 – Start a Tomcat
Start script – C:\tools\apache-tomcat-9.0.79\bin\startup.bat
Step 5 – Validate a user by accessing Manager app or Host Manager.


Example of
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals