tomcatcatalina

In tomcat, what is catalina_home and why we use it?


Iam new to tomcat but i knew something in java, While setting up tomcat we use to set java_home for the jdk path but all i wanted to knew what is catalina_home and why we need to setup in catalina.sh?


Solution

  • Tomcat is actually composed of a number of components, including a Tomcat JSP engine and other connectors, but the main component is Catalina, which provides the implementation of the servlet specification. When starting the Tomcat server, it's Catalina that is actually starting. The variable 'catalina_home' is a configuration property that stores the location of the Catalina files.

    These are the configuration files in Tomcat's "$CATALINA_BASE/conf" directory: