|
From: Klingensmith, R. F <ros...@lm...> - 2005-07-18 12:53:11
|
Leif, With all starts/stops I am using net start/stop XXX. XXX is both the service name and the display name. I have/had them both set to the same value. For all uninstalls/installs I am using the batch files provided with the wrapper. The wrapper.exe and java.exe processes are NOT running. **NOTE: I also just replied to another response containing this: My service is NOT under currentcontrolservices in the registry. It is under controlset02 but not under controlset01. So there is a ghost on the machine, will removing it from controlset02 fix it? Ross Klingensmith Lockheed Martin IS&S - Valley Forge, PA 610-354-4122 -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: Friday, July 15, 2005 8:21 PM To: wra...@li... Subject: Re: [Wrapper-user] Wrapper Service Problem 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |