Contact Form

Name

Email *

Message *

Cari Blog Ini

Catalina_base And Catalina_home

Tomcat Installation Parameters

CATALINA_BASE and CATALINA_HOME

Checking the values of CATALINA_BASE and CATALINA_HOME

The easiest way to check what CATALINA_BASE and CATALINA_HOME are by running "startupsh" for example.

Aptitude Installations

In either Tomcat6 or Tomcat7 installed with Apt-Get, find the declarations of CATALINA_HOME and CATALINA_BASE in "/etc/default/tomcat7" or "/etc/default/tomcat6".

For example, for Tomcat7, it reads:

 CATALINA_HOME=/usr/share/tomcat7 CATALINA_BASE=/var/lib/tomcat7 

Multiple Instance Installations

If you have not configured Tomcat for multiple instances by setting a CATALINA_BASE directory, then the value will be the same as CATALINA_HOME:

 workDirCATALINA_BASEwork 

CATALINA_BASE

Represents the root of a runtime configuration of a specific Tomcat.

CATALINA_HOME

Represents the location of the Tomcat software installation.


Comments