In this Video we are going to see Apache Tomcat Deployment Process, How to set and edit Tomcat Configs and How to Enable Remote Debugging in Tomcat.
Apache Tomcat Deployment Folder -
Apache_Tomcat_Folder/webapps
Apache Tomcat Installation -
Windows - https://www.youtube.com/watch?v=bM-Pr85FY4k&t=10s
MacOS/Linux - https://www.youtube.com/watch?v=2KD7L8j1tio&t=1s
Tomcat Commands -
Startup File -
Apache_Tomcat_Folder/bin/startup.sh
Stop Server File -
Apache_Tomcat_Folder/bin/shutdown.sh
Tomcat Default Logging Property File -
logging.properties - /apache-tomcat/conf
Change Tomcat Server Port -
server.xml - /apache-tomcat/conf
Enable Tomcat User Rights for Server Status and Management -
tomcat-users.xml - /apache-tomcat/conf
Remote Debug for Apache Tomcat in Intellij/Eclipse -
We need to run these Commands in Terminal/Command in Apache Tomcat bin Folder
set JPDA_ADDRESS=8000
set JPDA_TRANSPORT=dt_socket
./catalina.sh jpda start (For Linux/Mac Users use sh File, For Windows use .bat File = catalina.bat jpda start)
Timecodes
0:00 - Intro
0:10 - Tomcat Introduction
1:40 - Build WAR File using Maven
2:20 - Copy WAR File to Apache Tomcat Webapps Folder
3:30 - Start Apache Tomcat Server
4:10 - Test Deployed Spring MVC Application
4:50 - Tomcat Configs
5:50 - Configure Remote Debugging
7:00 - Apache Tomcat Server Changing Configs
7:40 - Logging Properties in Apache Tomcat
9:20 - Application and Server Monitoring in Apache Tomcat
10:32 - Start Remote Debugging for Apache Tomcat
#apache #tomcat #webserver #java