I'm setting Webware up on my Windows XP Pro box.

I created a working directory, and set up mod_webkit. Now, I want to
set up Webware as a Windows service. However, the instructions in the
install guide for setting up a Windows service seem to have a few
bugs/problems:

1. While the service code in the Webware install directory is called
   ThreadedAppServerService.py, the script to use in a working
   directory is NTService.py.
2. I had to comment out the lines in ThreadedAppServer.py which set up
   signal handlers (lines 660-662), as otherwise the service fails to
   start with an error "exceptions.ValueError: signal only works in
   main thread". (This isn't a good fix, but I'm not sure if/how I can
   detect when the server is running as a Windows service).
3. There is no log file for the service by default. I edited
   AppServer.config but it would be nice if NTServiceLogFilename was
   set by default to something useful (Logs\NTService.log would be
   sensible).
4. Opening the log file unbuffered (bufsize=0 in the open call) is
   also useful.

Otherwise, it's dead simple to set up and get working. I'm seriously
impressed!

Paul.
-- 
This signature intentionally left blank



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to