You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Will Holmes <wh...@fmic.com> on 2007/04/30 16:56:34 UTC

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: wholmes@fmic.com
 

Re: Tomcat as a windows service

Posted by Len Popp <le...@gmail.com>.
No, you do not need to set those variables. I'm running 5.5, and I
don't set them. I use the Tomcat configuration utility to specify the
location of the JRE and Tomcat.
-- 
Len

On 4/30/07, Will Holmes <wh...@fmic.com> wrote:
> 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: wholmes@fmic.com
>
>

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


Re: Tomcat as a windows service

Posted by Martin Gainty <mg...@hotmail.com>.
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" <br...@quantros.com>
To: "Tomcat Users List" <us...@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.
bryan@quantros.com
www.quantros.com
(408) 957 - 3300 ext. 230

-----Original Message-----
From: Will Holmes [mailto:wholmes@fmic.com]
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: wholmes@fmic.com


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



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


RE: Tomcat as a windows service

Posted by Bryan Rood <br...@quantros.com>.
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.
bryan@quantros.com
www.quantros.com
(408) 957 - 3300 ext. 230

-----Original Message-----
From: Will Holmes [mailto:wholmes@fmic.com] 
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: wholmes@fmic.com
 

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