Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By toni alfaro
I am using Fedora 25 for this application. Since I like tinkering with the different options a server can have, I began reading up on how the Java version I have installed in my system relates to the Tomcat version installed. Of course, Tomcat IS written in java and it uses I like the folder structure of Tomcat on Linux because I can use the tree command to look at all the files.
But I cannot understand how each folder and file relates to the Tomcat server. Using Django seems to have the same idea with less files. Also, it uses python in the backend to modify settings and different virtual environments created by the user. The first step I took in installing tomcat on my Fedora 25 system was using this command.
dnf -y install tomcat
I then checked the java version I have with the command:
Java -version
[root@host-40 tomcat]# java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
I know that I can install a different instances of Tomcat per the book: I then checked what Tomcat version I had
[root@host-40 tomcat]# tomcat version
Server version: Apache Tomcat/8.0.47
Server built: Oct 25 2017 15:10:50 UTC
Server number: 8.0.47.0
OS Name: Linux
OS Version: 4.13.16-100.fc25.x86_64
Architecture: amd64
JVM Version: 1.8.0_151-b12
JVM Vendor: Oracle Corporation
In my system the webapps folder is /usr/share/tomcat.
Using the tree command I verified the folder structure like so:
[root@host-40 tomcat]# tree
.
├── bin
│ ├── bootstrap.jar
│ ├── catalina-tasks.xml
│ └── tomcat-juli.jar
├── conf -> /etc/tomcat
├── lib -> /usr/share/java/tomcat
├── logs -> /var/log/tomcat
├── temp -> /var/cache/tomcat/temp
├── webapps -> /var/lib/tomcat/webapps
└── work -> /var/cache/tomcat/work
7 directories, 3 files
I know it comes with the webapps folder and basic examples but I just can’t get around understanding how different instances can live together or what would be a good resource to understand the different folders and files that are important to Tomcat and Java.
Scott H
kprichard
shadowsyntax
Seymen Pek
Sergiu Groza
0298427ee98b4b8db926b556dbe006
ef4b1618a83246338d8eff880389a8
DriftingDarkCyanJellyfish
Sebastian Chlopecki
a5703f8b90bc4343b563db6eaa6558
sranvir