How to deploy application using Apache tomcat ?

In this tutorial we will be downloading the apache tomcat server and then run our application on top of that.

Here we are using windows machine local.

Steps :

  1. Download the binaries for the apache tomcat

image.png

  1. Run the tomcat server , by going to the bin and then startup.bat file
  2. navigate to localhost 8080 you can see the server is up and running.
  3. To access the manager you need to update a file called as tomcat-users.xml with the below mentioned lines.
<user username="admin" password="admin" roles="manager-gui,admin-gui"/>

now when you will click on the manager, it will ask for credentials enter admin and admin.

screenshot_77.png

screenshot_78.png