Microsoft (more specifically the Windows registry) has god rights so any information entered into Windows registry is considered "system wide" Of course you can overwrite the SAME ENVIRONMENT VARIABLE locally (e.g. %CATALINA_HOME%) in your cmd.exe command shell by SET CATALINA_HOME=new_var

HTH
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Bryan Rood" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, April 30, 2007 2:35 PM
Subject: RE: Tomcat as a windows service


Will,

I run Tomcat as a window's service. My understanding is that when you
run Tomcat as a window's service, setting an env var in the Tomcat
service options that also exists as part of windows will supersede the
windows var.

As long as you have it set somewhere before the service needs the var it
doesn't matter where it is set. If you are using multiple java homes,
then it becomes important where it set, otherwise I don't think it
matters,

Bryan Rood
IT Manager
Quantros Inc.
[EMAIL PROTECTED]
www.quantros.com
(408) 957 - 3300 ext. 230

-----Original Message-----
From: Will Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 7:57 AM
To: users@tomcat.apache.org
Subject: Tomcat as a windows service

We are upgrading from 5.0 to 5.5.  Previously I was using windows env
variables to set the java home and catalina home paths.  In version 5.5
do I
still need to use env variables or can I use the Tomcat service
configuration "Java" options?

Thanks

Will Holmes
Programmer Analyst
Fremont Insurance Company
Ph: 231-924-0302 Ext. 145
E-Mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to