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><subscriber<br> handler="cdcadama.authentication.onStartup"<br>
for="zope.app.appsetup.interfaces.IProcessStartingEvent"<br>/><br><br>and the handler definition:<br><br>def onStartup(event):<br> print 'hello'<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 'hello'.<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>