<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Using service.Application</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>> Your new version isn't actually starting up any of your services. Two</FONT>
<BR><FONT SIZE=2>> ways to address this: use twisted.internet.app.startApplication and</FONT>
<BR><FONT SIZE=2>> twisted.internet.app.runReactorWithLogging (these are what "twistd" calls</FONT>
<BR><FONT SIZE=2>> internally) instead of reactor.run, or get rid of the __name__ check and the</FONT>
<BR><FONT SIZE=2>> reactor.run() call, and use "twistd -y <your file>" to run the server.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Jp</FONT>
</P>
<P><FONT SIZE=2>Thanks for the suggestions Jp (I assume you meant twisted.application.app, not twisted.internet.app).</FONT>
</P>
<P><FONT SIZE=2>I don't use twistd at present because I subclass Logfile to limit the max number of rotating log files and I not aware of how I can do that with twistd.</FONT></P>
<P><FONT SIZE=2>regards,</FONT>
<BR><FONT SIZE=2>Richard Townsend</FONT>
</P>
</BODY>
</HTML>