David kerber wrote:
Sureka, Sushil wrote:
Hi,
I have run into an issue related to starting tomcat as a service. When
we were starting tomcat from the command line, we were able to just say
System.getProperty("user.name" ) to retrieve the logged in user id. But
now that we start tomcat using
- Original Message -
From: "Sureka, Sushil" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 13, 2008 8:16 PM
Subject: Reading environment variable from Tomcat
Hi,
I have run into an issue related to starting tomcat as a service. When
we were starting tomcat from
transmission.
> Date: Wed, 13 Aug 2008 21:33:13 +0300
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: Reading environment variable from Tomcat
>
> +1
> exactly! you can even login with two different users (if you are using
> windows server) none of t
---
From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, August
13, 2008 1:47 PM
To: Tomcat Users List
Subject: Re: Reading environment variable from Tomcat
Looks like correct behavior to me. You can see that tomcat runs in
the System account when you look at it via Process Explorer o
ted to internet. Hence we took the same code
base (with lot less fat) and ported it on tomcat.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2008 1:47 PM
To: Tomcat Users List
Subject: Re: Reading environment variable from Tomcat
Looks like c
> From: Sureka, Sushil [mailto:[EMAIL PROTECTED]
> Subject: RE: Reading environment variable from Tomcat
>
> Because we are using the app more like a standalone application
Then don't run it as a service, just put the startup script call in:
C:\Documents and Settings\[userid]\St
not connected to internet. Hence we took the same code
base (with lot less fat) and ported it on tomcat.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2008 1:47 PM
To: Tomcat Users List
Subject: Re: Reading environment variable from Tomcat
Looks like correct behavior to me. You can see that tomcat runs in the
System account when you look at it via Process Explorer or Task
Manager. It has it's own environment separate from any desktop user and
can run without any desktop user. This is also why tomcat can't access
mapped network
: Tomcat Users List
Subject: Re: Reading environment variable from Tomcat
+1
exactly! you can even login with two different users (if you are using
windows server) none of them would be running the service unless you
change
the logged on option.
On Wed, Aug 13, 2008 at 9:27 PM, David kerber
-
From: David kerber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2008 1:27 PM
To: Tomcat Users List
Subject: Re: Reading environment variable from Tomcat
Sureka, Sushil wrote:
> Hi,
>
>
>
> I have run into an issue related to starting tomcat as a service. When
> we we
+1
exactly! you can even login with two different users (if you are using
windows server) none of them would be running the service unless you change
the logged on option.
On Wed, Aug 13, 2008 at 9:27 PM, David kerber <[EMAIL PROTECTED]> wrote:
> Sureka, Sushil wrote:
>
>> Hi,
>>
>>
>> I have ru
Sureka, Sushil wrote:
Hi,
I have run into an issue related to starting tomcat as a service. When
we were starting tomcat from the command line, we were able to just say
System.getProperty("user.name" ) to retrieve the logged in user id. But
now that we start tomcat using a service, the get p
Hi,
I have run into an issue related to starting tomcat as a service. When
we were starting tomcat from the command line, we were able to just say
System.getProperty("user.name" ) to retrieve the logged in user id. But
now that we start tomcat using a service, the get property call returns
"SYS
13 matches
Mail list logo