|
From: Leif M. <le...@ta...> - 2005-10-19 23:40:11
|
Leif Mortenson wrote: > Jani, > I have been trying to figure this one out tonight. According the docs > on the CreateService > API, it should be working as is by doing the following: > wrapper.ntservice.password= > > That said however, I have not been able to start a service running as > a user without > a password set. You mentioned that you modify the installed service > settings manually > are able to get it to work? How are you setting it to a blank > password. I tried clearing > the password from the service properties dialog, but the service > startup still fails with > a login error. I have been trying to figure out whether or not the > password is actually > being cleared... > > I have been trying to get this working under XP Pro SP2. > > Cheers, > Leif > > jan...@pe... wrote: > >> Hello! >> >> I have a question about wrapper. We try to use it for running java >> application on Windows 2000 Workstation as windows service. >> We want to run this service as user xxxx which has no password. >> >> In our .conf file we set option: >> wrapper.ntservice.account=.\xxxx >> This option is processed OK by wrapper. >> >> What should we do to tell wrapper that this user has no password? We >> tryed >> option: >> wrapper.ntservice.password= >> We also tryed without this option (default should be no password). >> >> When we ty to start this service it doesn't start and we get a response: >> The service did not start due to a logon failure. >> >> If we manually change logon properties of our service on windows >> services >> (GUI), it starts OK after we delete all * characters in password fields. >> >> Since our plan is to install our service on many machines, it is wery >> hard >> job to manually update passwords of service. >> If you can suggest me any solution of this problem, please let me know! >> >> >> Thanks in advance! >> >> Best regards, >> Jani Kavcic >> >> > > |