Hi,<br>I am trying to execute some code at zope3 server startup. Zope3 posts hint using a  IProcessStartingEvent subscriber in configure.zcml.<br><br>Here is an extract of configure.zcml:<br><br>&lt;subscriber<br>      handler=&quot;cdcadama.authentication.onStartup&quot;<br>
      for=&quot;zope.app.appsetup.interfaces.IProcessStartingEvent&quot;<br>/&gt;<br><br>and the handler definition:<br><br>def onStartup(event):<br>       print &#39;hello&#39;<br><br>The problem is that the function is not called at server startup. But when a call to notify(zope.app.appsetup.interfaces.ProcessStarting()) is made later  in the code (after the server starts), it prints &#39;hello&#39;.<br>
<br>It looks like that the subscriber is registered after the server notifies the event.<br><br>Thanks for your help<br>Simon<br><br>