Re: Problem with windows service shutdown

Christoph Zwerschke <[email protected]>
Newsgroups gmane.comp.python.webware
Message-ID <[email protected]>
Will Sadkin wrote:
> We run webkit as our appserver, via a win32 service.
> If we start up the service and immediately shut it down
> via the windows service manager, it works fine; if a 
> session starts, and we then try to shut the service down, 
> it hangs.  Is there some sort of handler we need to 
> install to ensure that the sessions are being destroyed 
> and threads cleaned up properly in response to a service 
> control request?

This works for me (Win XP, Python 2.4, Webware 0.9.2, PyWin32 build 
210). Which versions are you using? Any special configuration? Can you 
try it with a clean Webware install using the CountVisits servlet that 
you will find among the WebKit examples (that's what I have tried)?

-- Christoph

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.