|
From: Leif M. <le...@ta...> - 2005-07-16 00:22:25
|
Ross, Klingensmith, Ross F wrote: > Hey all, > > Thanks for all the responses so far for other questions I have had. > With your help I now have about 10 services up and running properly. > However, 1 service is causing me some problems: > > I have installed the service and that worked properly. Then I went to > start the service and it started fine. Now the big issue: > > 1) if I try to stop the service, windows says that it doesn’t exist > How are you trying to stop the service? net stop xxx? Are you using the value for 'wrapper.ntservice.name' or 'wrapper.ntservice.displayname'? Either will work, but the system is internally using 'wrapper.ntservice.name' as the name of the service. It is also possible to use the Wrapper: wrapper.exe -p ..\conf\wrapper.conf > 2) if I try to start the service it says its already running > Once again, how are you doing this? net start xxx or wrapper.exe -t ..\conf\wrapper.conf > 3) if I try to uninstall it says its still running so cant > How are you doing this? The Wrapper should stop the service if it uninstalled while running. If it can find the service to tell it is running it should be able to stop it... > 4) if I try to install it says its already installed as a > service…..(which conflicts with 1.) ) > name vs displayname problem. The Wrapper always uses the name to reference the service. > > 5) the service does NOT show up under windows services when in control > panel > My guess now is that your 'wrapper.ntservice.name' has remained unchanged, but 'wrapper.ntservice.displayname' was modified. The later is what shows up in the > I am not sure what would cause this given that all other services are > working properly. If you have any idea as to how this could happen or > what to do it would be greatly appreciated. (Worst case scenario I can > just rename the service and run it as that, but my managers don't want > to do that ) > > Since this was one of the first services I wrote a few weeks ago, it > is possible that I changed some of the ntservice properties in the > config file while the service was unknowingly running. Would that > explain this problem? And is there an easy way to fix it? > If you look at the task manager, can you see the wrapper.exe and java.exe processes running? Cheers, Leif |