You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steve <st...@yahoo.com> on 2002/01/15 04:22:55 UTC
Tomcat 4.0.1 : What do these environmental variables mean?
Hi;
I was looking through catalina.sh and I want to confirm that I
understand what these environmental variables.
When I say "Tomcat" I am refering to the absolute path on my system (
Suse Linux 7.2 ) ending with a directory called "Tomcat" which contains
all of the subdirectories for Tomcat 4.0.1
==========================================================================
CATALINA_BASE (Optional) Base directory for resolving dynamic portions
of a Catalina installation. If not present, resolves to
the same directory that CATALINA_HOME points to.
===========================================================================
Tomcat/bin ???
===========================================================================
CATALINA_HOME (Optional) May point at your Catalina "build" directory.
If not present, the current working directory is assumed.
===========================================================================
Tomcat or Tomcat/bin ???
==========================================================================
CATALINA_OPTS (Optional) Java runtime options used when the "start",
"stop", or "run" command is executed.
=========================================================================
What are these "start, stop or run" commands. Are these commands for
running tomcat in stand alone mode or as windows service?
Thanks in advance
Steve
The Java Resource Dump
http://www.geocities.com/beforewisdom/Java/index.html
-------------------------------------------------------
"Rancor is an outpouring of a feeling of inferiority"
- Jose' Ortega y Gasset
--------------------------------------------------------
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Tomcat 4.0.1 : What do these environmental variables mean?
Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
> I was looking through catalina.sh and I want to confirm that I
> understand what these environmental variables.
>
> When I say "Tomcat" I am refering to the absolute path on my system (
> Suse Linux 7.2 ) ending with a directory called "Tomcat" which contains
> all of the subdirectories for Tomcat 4.0.1
This is CATALINA_HOME.
> ==========================================================================
> CATALINA_BASE (Optional) Base directory for resolving dynamic portions
> of a Catalina installation. If not present, resolves to
> the same directory that CATALINA_HOME points to.
> ===========================================================================
>
> Tomcat/bin ???
No. This is for most situations CATALINA_HOME. The only situation when it is not so is if you want to have one Tomcat install dir and multiple instances or possible test configuration. In tha case, each instance would have it's own dir with ./config ./webapps ./work ./classes ./lib and ./common dirs. They would all share the same CATALINA_HOME.
> ===========================================================================
> CATALINA_HOME (Optional) May point at your Catalina "build" directory.
> If not present, the current working directory is assumed.
> ===========================================================================
> Tomcat or Tomcat/bin ???
Tomcat, most definitely.
> ==========================================================================
> CATALINA_OPTS (Optional) Java runtime options used when the "start",
> "stop", or "run" command is executed.
> =========================================================================
> What are these "start, stop or run" commands. Are these commands for
> running tomcat in stand alone mode or as windows service?
These are for manual startup/shutdown. Of course, on UNIX we use that for boot/shutdown operation as well.
Nix.
Re: Tomcat 4.0.1 : What do these environmental variables mean?
Posted by David Smith <dn...@cornell.edu>.
From what I understand, CATALINA_BASE was designed to allow for multiple
instances of Tomcat 4 on one machine. Each instance would have a separate
CATALINA_BASE directory containing a conf dir, server.xml, etc., ...
CATALINA_HOME is the directory containing stuff like the bin directory and
probably the server/lib and server/classes directories.
I haven't tried multiple Tomcats so I can't answer specific questions.
--David
On Monday 14 January 2002 10:22 pm, you wrote:
> Hi;
>
> I was looking through catalina.sh and I want to confirm that I
> understand what these environmental variables.
>
> When I say "Tomcat" I am refering to the absolute path on my system (
> Suse Linux 7.2 ) ending with a directory called "Tomcat" which contains
> all of the subdirectories for Tomcat 4.0.1
>
> ==========================================================================
> CATALINA_BASE (Optional) Base directory for resolving dynamic portions
> of a Catalina installation. If not present, resolves to
> the same directory that CATALINA_HOME points to.
> ===========================================================================
>
> Tomcat/bin ???
>
>
> ===========================================================================
> CATALINA_HOME (Optional) May point at your Catalina "build" directory.
> If not present, the current working directory is assumed.
> ===========================================================================
> Tomcat or Tomcat/bin ???
>
>
>
>
> ==========================================================================
> CATALINA_OPTS (Optional) Java runtime options used when the "start",
> "stop", or "run" command is executed.
> =========================================================================
> What are these "start, stop or run" commands. Are these commands for
> running tomcat in stand alone mode or as windows service?
>
> Thanks in advance
>
>
> Steve
>
> The Java Resource Dump
> http://www.geocities.com/beforewisdom/Java/index.html
>
> -------------------------------------------------------
> "Rancor is an outpouring of a feeling of inferiority"
> - Jose' Ortega y Gasset
> --------------------------------------------------------
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>