From 079c9a199988501cbd6c0def9c0b0b8f0aa550da Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 18 Dec 2008 16:01:55 +0000 Subject: [PATCH] Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46366 Need to use environment variables to set catalina home/base git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@727756 13f79535-47bb-0310-9956-ffa450edef68 --- RUNNING.txt | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/RUNNING.txt b/RUNNING.txt index 3cbcddb02..6c1f543bb 100644 --- a/RUNNING.txt +++ b/RUNNING.txt @@ -97,14 +97,12 @@ Advanced Configuration - Multiple Tomcat Instances In many circumstances, it is desirable to have a single copy of a Tomcat binary distribution shared among multiple users on the same server. To make -this possible, you can pass a "-Dcatalina.base=$CATALINA_BASE" argument when -executing the startup command (see (2)). In this -"-Dcatalina.base=$CATALINA_BASE" argument, replace $CATALINA_BASE with the +this possible, you can set the $CATALINA_BASE environment variable to the directory that contains the files for your 'personal' Tomcat instance. -When you use this "-Dcatalina.base=$CATALINA_BASE" argument, Tomcat will -calculate all relative references for files in the following directories based -on the value of $CATALINA_BASE instead of $CATALINA_HOME: +When you use $CATALINA_BASE, Tomcat will calculate all relative references for +files in the following directories based on the value of $CATALINA_BASE instead +of $CATALINA_HOME: * bin - Only setenv.sh (*nix) and setenv.bat (windows) @@ -118,9 +116,9 @@ on the value of $CATALINA_BASE instead of $CATALINA_HOME: * temp - Directory used by the JVM for temporary files (java.io.tmpdir) -If you do not pass the "-Dcatalina.base=$CATALINA_BASE" argument to the -startup command, $CATALINA_BASE will default to the same value as $CATALINA_HOME, - which means that the same directory is used for all relative path resolutions. +If you do set $CATALINA_BASE, $CATALINA_BASE will default to the same value as +$CATALINA_HOME, which means that the same directory is used for all relative +path resolutions. ================ -- 2.11.0