|
From: Leif M. <le...@ta...> - 2005-08-12 16:55:17
|
Qian,
The Windows Service Manager is actually rather rude when the system is
being shutdown. It also ignores service dependency information and just
shuts
them all down at the same time.
Could you set wrapper.debug=true and then reboot your machine.
Post the resulting wrapper.conf file showing a few minutes before the reboot
and then up until the machine has been rebooted.
I should be able to tell you exactly what is happening from that
information.
Cheers,
Leif
Qian Wang wrote:
>Sorry, I mean signalStopping(n). Anyone has an idea?
>
>thanks
>--- Qian Wang <jan...@ya...> wrote:
>
>
>
>>Geetings, y'all,
>> I have a question about the stopping the service
>>while rebooting the mahine. My own shutting down
>>method sleep for 10 sec, then continue to clean my
>>working threads and other stuff. I used
>>stopsignale(12000) in wrapper's mail class to have
>>it
>>wait for 12 seconds, however, I don't think it can
>>actually wait that long, therefore my threads can't
>>be
>>shutdown properly.
>>
>>I've tried to use a smaller number to sleep my
>>shutdown method, then it works fine.
>>
>>My guess is my machine gets shutdown before wrapper
>>do
>>its job. How do I make wrapper wait for as long as I
>>want?
>>
>>
>>thanks a lot!
>>
>>
>>
>>____________________________________________________
>>Start your day with Yahoo! - make it your home page
>>http://www.yahoo.com/r/hs
>>
>>
>>
>>
>>
>>
>-------------------------------------------------------
>
>
>>SF.Net email is Sponsored by the Better Software
>>Conference & EXPO
>>September 19-22, 2005 * San Francisco, CA *
>>Development Lifecycle Practices
>>Agile & Plan-Driven Development * Managing Projects
>>& Teams * Testing & QA
>>Security * Process Improvement & Measurement *
>>http://www.sqe.com/bsce5sf
>>_______________________________________________
>>Wrapper-user mailing list
>>Wra...@li...
>>
>>
>>
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
|