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 :
- Download the binaries for the apache tomcat
- Run the tomcat server , by going to the bin and then startup.bat file
- navigate to localhost 8080 you can see the server is up and running.
- 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.