Differences between Catalina. Base and Catalina. Home

Source: Internet
Author: User

From: http://cms.tech86.com/templet/default/ShowArticle.jsp? Id = 121605

 

We can find the answer from the Tomcat 5.5 configuration document (http://tomcat.apache.org/tomcat-5.5-doc/config/host.html:

The description below uses the variable name $ catalina_home to refer to the Directory into which you have installed Tomcat 5, and is the base Directory against which most relative paths are resolved. however, if you have configured Tomcat 5 for multiple instances by setting a catalina_base directory, you shoshould use $ catalina_base instead of $ catalina_home for each of these references.

The following description shows the differences between catalina_home and catalina_base. Simply put, catalina_home is the installation directory of Tomcat and catalina_base is the working directory of Tomcat. If we want to run multiple Tomcat instances, but do not want to install multiple Tomcat software copies. You can configure multiple working directories. Each running instance occupies one working directory, but the same installation directory is shared.

Each running Tomcat instance must use its own Conf, logs, temp, webapps, work, and shared directories. Therefore, catalina_base points to these directories. Other directories mainly include Tomcat binary files and scripts. catalina_home points to these directories.

If we want to run another tomcat instance, we can create a directory to copy Conf, logs, temp, webapps, work, and shared to the directory, then let catalina_base point to this directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.