UNCLASSIFIED

README.md 1.31 KB
Newer Older
Andy Maksymowicz's avatar
Andy Maksymowicz committed
1 2 3
# What is Tomcat?
Apache Tomcat (or simply Tomcat) is an open source web server and servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Oracle, and provides a "pure Java" HTTP web server environment for Java code to run in. In the simplest config Tomcat runs in a single operating system process. The process runs a Java virtual machine (JVM). Every single HTTP request from a browser to Tomcat is processed in the Tomcat process in a separate thread.

Andy Maksymowicz's avatar
Andy Maksymowicz committed
4
# Helm Chart
Andy Maksymowicz's avatar
Andy Maksymowicz committed
5
Link to an example helm chart: https://github.com/helm/charts/tree/master/stable/tomcat
Andy Maksymowicz's avatar
Andy Maksymowicz committed
6 7

# How to Use this Image
Andy Maksymowicz's avatar
Andy Maksymowicz committed
8 9
The default Tomcat environment in the image is:

Andy Maksymowicz's avatar
Andy Maksymowicz committed
10
**CATALINA_BASE:   /usr/local/tomcat**
Andy Maksymowicz's avatar
Andy Maksymowicz committed
11

Andy Maksymowicz's avatar
Andy Maksymowicz committed
12
**CATALINA_HOME:   /usr/local/tomcat**
Andy Maksymowicz's avatar
Andy Maksymowicz committed
13

Andy Maksymowicz's avatar
Andy Maksymowicz committed
14
**CATALINA_TMPDIR: /usr/local/tomcat/temp**
Andy Maksymowicz's avatar
Andy Maksymowicz committed
15

Andy Maksymowicz's avatar
Andy Maksymowicz committed
16
**JRE_HOME:        /usr**
Andy Maksymowicz's avatar
Andy Maksymowicz committed
17

Andy Maksymowicz's avatar
Andy Maksymowicz committed
18
**CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar**
Andy Maksymowicz's avatar
Andy Maksymowicz committed
19

Andy Maksymowicz's avatar
Andy Maksymowicz committed
20
The configuration files are available in /usr/local/tomcat/conf/. By default, no user is included in the "manager-gui" role required to operate the "/manager/html" web application. If you wish to use this app, you must define such a user in tomcat-users.xml.
Andy Maksymowicz's avatar
Andy Maksymowicz committed
21

Andy Maksymowicz's avatar
Andy Maksymowicz committed
22
**Your application must be placed in the /usr/local/tomcat/webapps directory to be recognized by Tomcat.**