[Twisted-Python] Running a PBServerFactory TCP Server as a Win32 Service.

Cory Dodt corydodt at twistedmatrix.com
Mon Jan 23 19:19:50 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Itamar Shtull-Trauring wrote:
> With one minor bug, it ought to do reactor.callFromThread(reactor.stop)
> instead of reactor.stop().

Fixed.


william.lewis at uk.bnpparibas.com wrote:
> When I try to start the service it just exits quickly without actually starting, but without any error.
> I have implemented other python TCP servers (e.g. a simple xml-rpc server using  xmlrpclib.py) as win32 services and so am
> not sure why I am getting this behaviour. Any help would be appreciated.
> 

BTW, errors are logged to the event log:Control Panel > Administrative Tools >
Event Viewer, then Application log, i think.  You can find python exceptions
there.


C



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD1XKm3A5SrXAiHQcRAuJfAJ9QVVNAQCYEVOjNKiWtRPulX64VYgCfRG+6
WTb0TrP1LHbFyaarGNfqfek=
=0TkC
-----END PGP SIGNATURE-----




More information about the Twisted-Python mailing list