RE: why we need CATALINA_HOME to install tomcat..

2008-12-15 Thread Caldarale, Charles R
> From: BEN HMIDA aymen [mailto:aymen.benhm...@tunisiana.com]
> Subject: RE: why we need CATALINA_HOME to install tomcat..
>
> The reason is mostly for Unix/Linux users to faciltate the
> acces to tomcat installation directory in shell.
> And for setting tomcat as a service in Unix/Linux and so on windows

None of the above seems to be true.  Clearly, CATALINA_HOME has no effect when 
running as a Windows service, since the services do not use environment 
variables.

The real reason for being able to set CATALINA_HOME and CATALINA_BASE 
separately is to allow multiple instances of Tomcat running with the same code 
jar files.  See the RUNNING.txt file in the Tomcat installation directory for 
details.

Normal operation of Tomcat does not require setting CATALINA_HOME explicitly; 
the startup.sh and startup.bat scripts will do that automatically if not 
previously set (as will catalina.sh and catalina.bat).  When CATALINA_HOME is 
not set, the current directory must be set to ${CATALINA_HOME}/bin; if you want 
your current directory somewhere else when starting Tomcat, only then do you 
need to set it to point to the Tomcat installation directory.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: why we need CATALINA_HOME to install tomcat..

2008-12-15 Thread BEN HMIDA aymen
Hi,
The reason is mostly for Unix/Linux users to faciltate the acces to tomcat 
installation directory in shell.
And for setting tomcat as a service in Unix/Linux and so on windows

-Message d'origine-
De : Naaag [mailto:nag...@btpsoft.com] 
Envoyé : lundi 15 décembre 2008 14:33
À : users@tomcat.apache.org
Objet : why we need CATALINA_HOME to install tomcat..


 Hi,
I am using Tomcat 6.0 with windows.I am able to run tomcat in my application
by setting CATALINA_HOME
and also able to run without setting CATALINA_HOME.
I have exactly want , why we need CATALINA_HOME  for configuring tomcat?
please mail me the reason.
Thanking u.
Nag

-- 
View this message in context: 
http://www.nabble.com/why-we-need-CATALINA_HOME-to-install-tomcat..-tp21014027p21014027.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org