Skip to main content

Tomcat Installation and Folder structure


Tomcat Installation:
1.       Basically all operating systems are understand only binary language , As we discussed earlier post that Tomcat have J2ee , servlet  container.
2.       This is Java based Web Application server .
3.       For this reason we need to install JDK before running Tomcat file
4.       Download the support JDK based on Tomcat version.
Download JDK: Find the JDK for Linux 64bit here  jdk-8u161-linux-x64.tar.gz
                             Find the JDK for Windows 64bit here jdk-8u161-windows-x64.exe
Download Tomcat: Find the Tomcat here  and download the required version.
If you can able to ping Google from your Linux , You can download with wget command.
Step 1:
Step2:
tar -zxf apache-tomcat-9.0.1.tar
Step3:
cd apache-tomcat-9.0.1

Important files and folders:

                                                          apache-tomcat

Work
Logs
Webapps
Running.txt
Release
Notes
Notice
License
Conf
Temp
Lib
bin

Work: In side you can find Catalina folder, this is the Work temp location where the application code get stored.
Logs: This is the location all Application logs gets stored, below are the log file formats
catalina.out
catalina.log
Localhost_access_log.2018-03-06.txt
Running.txt: Running The Apache Tomcat 8.5 Servlet/JSP Container Apache Tomcat 8.5 requires a      Java Standard Edition Runtime Environment (JRE) version 7 or later.
"RUNNING.txt" 470L, 15946C

Webapps: This is the Location where all java Application’s get deployed .When you place the code this location server automatically picks the code and deployed into the server

Release Notes: It shows the Version of the Tomcat and JDk along with can see what all API’s installed with this tomcat version.
Notice: It contain some useful info of the Tomcat
License: We can see the Licence info in this file
Conf: This i the very important folder, where Tomcat main server.xml file resides.

[root@hintech conf]# pwd

/opt/apache-tomcat-8.5.23/conf
[root@hintech conf]# ls -lrt
total 228
-rw-------. 1 root root 169371 Sep 28 16:01 web.xml
-rw-------. 1 root root   2633 Sep 28 16:01 tomcat-users.xsd
-rw-------. 1 root root   3622 Sep 28 16:01 logging.properties
-rw-------. 1 root root   2358 Sep 28 16:01 jaspic-providers.xsd
-rw-------. 1 root root   1149 Sep 28 16:01 jaspic-providers.xml
-rw-------. 1 root root   1338 Sep 28 16:01 context.xml
-rw-------. 1 root root   7376 Sep 28 16:01 catalina.properties
-rw-------. 1 root root  13824 Sep 28 16:01 catalina.policy
-rw-------. 1 root root   2364 Mar  6 06:53 tomcat-users.xml
drwxr-x---. 9 root root   4096 Mar  6 20:38 Catalina
-rw-------. 1 root root   8166 Mar  8 10:21 server.xml
[root@hintech conf]#

Temp: Temp location
Lib: All supported jar files are located in this location
Bin:  version.sh
startup.sh – To start the server and it uses default 8080 port
shutdown.sh – To stop the server and it uses default 8005 port
catalina.sh -




Comments

Popular posts from this blog

Jfrog Artifactory Installation single node with Docker

Before you proceed with the installation, review the system requirements. Artifactory System Requirements Artifactory system requirements depend mainly upon the expected amount of active clients. Number of Active Clients Processor Memory Disk Space 0-20 4 core CPU 4 GB Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. 0-100 4 core CPU 8GB Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. 100-200 8 core CPU 12 GB Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. Backup SAN is recommended. 200+ Contact  JFrog Support Contact  JFrog Support Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. Contact  JFrog Support Launch 1 Ec2-Instance  RAM -...

DevOps Course Structure

DevOps Module 1: What is DevOps? Definition of DevOps Overview of DevOps philosophy Key principles and practices History and Evolution of DevOps Origins of DevOps Evolution from Agile and Lean methodologies Module 2: Why DevOps? Benefits of DevOps Faster delivery and time-to-market Improved collaboration between teams Enhanced quality and reliability of software Increased efficiency and productivity Business Impact Case studies demonstrating the value of DevOps Metrics for measuring success in DevOps Module 3: DevOps Tools Overview of Tool Categories Version Control Systems (e.g., Git) Continuous Integration and Continuous Deployment (CI/CD) tools (e.g., Jenkins, GitLab CI) Configuration Management (e.g., Ansible, Chef, Puppet) Containerization (e.g., Docker, Kubernetes) Monitoring and Logging (e.g., Prometheus, ELK Stack) Tool Demonstrations Practical examples of using selected tools Module 4: Differences Between Traditional Methodologies and DevOps Approach Traditional Software Devel...