tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hole" <andremailingl...@gmail.com>
Subject Re: Environment variables
Date Tue, 06 Nov 2007 15:20:38 GMT
I'm trying to execute a ssh command inside java code. SSH command must
know HOMEDRIVE environment variable to find know_hosts file... How can
I do that?

Thanks a lot

On Nov 6, 2007 3:14 PM, Caldarale, Charles R <Chuck.Caldarale@unisys.com> wrote:
> > From: Andrew Hole [mailto:andremailinglist@gmail.com]
> > Subject: Environment variables
> >
> > how can I setup environment variables on tomcat windows service?
> > Tomcat cleans environment variables...
>
> You can't - services don't use environment variables.  Use the
> tomcat?w.exe program to set Java system properties and heap values for
> the service.
>
>  - 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 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


Mime
View raw message