|
From: Jindong Li <Jin...@so...> - 2003-04-02 16:05:48
|
Hi there, I'm currently exploring the possibility of using Java Service Wrapper to run our Java application as an NT service (Windows 2000 professional), everything is going well so far...you guys did a great job!! I do have couple of questions: * The WrapperManager detects if there's any non-daemon threads other than the current thread and system thread running after the application is launched, in my case since all my threads are daemon threads, I had to start another thread in my listener code to run indefinitely until it receives the stop control from the service panel...otherwise, the service will be stopped right after it was started, any other way to get around that ? * When I use the command line command "net start/stop" to start / stop the service I installed using wrapper.exe, starting is always successful without any issue but stopping, on the other hand, I often get "... service could not be stopped." even though the service has been stopped indeed...any idea? This problem does not appear to exist if stopping from the GUI. Thanks and really appreciate your help... Jindong. ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### |