|
From: Leif M. <le...@ta...> - 2002-12-03 03:03:23
|
Prasad,
Currently, the Wrapper does not do anything special to run the
Wrapper/Java
processes as a specific user. If you go into the service manager and select
Properties for the Service, then you will see a login tab where you can
specify
the user name and password to use when running the service.
I tried this on my WinXP box here and work and keep getting the
following though:
---
System error 1069 has occurred.
The service did not start due to a logon failure.
---
From the following site, it looks like you have to enable the "Logon
as Service" right
for the user to be logged in as a service. That is done using the Group
Policy Editor.
I'll have to give that a try at home as gpedit.msc does not appear to be
included with
the Home edition of XP. (The notebook I bought for work only came with
XP home :-/)
http://www.sbss.com.au/products/netfaq.htm#W2KService
What OS are you using. From what I can see so far you can only do
this with
Professional versions Windows??
Cheers,
Leif
Prasad Keskar wrote:
>I had a question about the "log on as" for the Java service wrapper. Whenever I run my app as a service using java service wrapper, it always uses "Local System" as the log on type. How to change this? I mean I want my app to run as a service with the administrator as the user (log on as should be administrator). I know I will need to supply the administrator user name & password to the service somehow for this requirement. Can someone help me with this? I will really appreciate any help.
>
>
|