<div dir="ltr">Hi Gary,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
If you want a Zope 2 instance to run the zc.async dispatcher/worker threads, then it might be better to get the DB that zope is using. &nbsp;In Zope 3, there&#39;s an event you can subscribe to to get the DB. &nbsp;Maybe there&#39;s something similar in Zope 2 these days?<div class="Ih2E3d">
</div></blockquote><div><br><br>I found it. but I&#39;m not sure if really fire the event at any moment.<br><br>in my configure.zcml I have:<br>&lt;subscriber<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for=&quot;zope.app.appsetup.<div>IDatabaseOpenedEvent&quot;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; handler=&quot;.handlers.zcasync_config_handler&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt;<br><br>the instance starts, but it seems that the handler never run</div><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
2008-09-12 02:20:01 ERROR zc.async.events UUID 10c69742-8084-11dd-9853-0016d3094e86 already activated in queue &nbsp;(oid 44148): another process? &nbsp;(To stop poll attempts in this process, set ``zc.async.dispatcher.get().activated = False``. &nbsp;To stop polls permanently, don&#39;t start a zc.async.dispatcher!)<br>

</blockquote>
<br></div>
Maybe you are running your tests while you are running your app instance, and that both of them actually connect to your real live ZEO.<br>
<br>
Or maybe you are starting a dispatcher yourself, *and* zc.async.ftesting.setUp is starting a dispatcher? &nbsp;(ftesting setUp does start one.)<div><div></div><div class="Wj3C7c"></div></div></blockquote><div><br>right, and what about running many
clients with one ZEO. I&#39;m getting the same error and I don&#39;t understand
what to do, this is why I need to get the DB that zope is using?<br>
<br>thanks for your help again, and sorry for my ignorance<br><br>cheers</div></div><br clear="all"><br>-- <br>Santiago Videla<br><a href="http://www.revolucionesweb.com.ar">www.revolucionesweb.com.ar</a><br><a href="http://www.linkedin.com/in/svidela">http://www.linkedin.com/in/svidela</a><br>
<br>Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el pensamiento que se hace corazón resplandece con la palabra sencilla y humilde que l@s tod@s somos.<br>
</div>