[z3-checkins] r10688 - z3/modzope/trunk/demosite

philikon at codespeak.net philikon at codespeak.net
Fri Apr 15 18:27:48 MEST 2005


Author: philikon
Date: Fri Apr 15 18:27:47 2005
New Revision: 10688

Modified:
   z3/modzope/trunk/demosite/modzope.conf
Log:
zeoclient doesn't work for some obscure reason (threading?)
need to investigate what zope 2 and ZopeHandler do different here


Modified: z3/modzope/trunk/demosite/modzope.conf
==============================================================================
--- z3/modzope/trunk/demosite/modzope.conf	(original)
+++ z3/modzope/trunk/demosite/modzope.conf	Fri Apr 15 18:27:47 2005
@@ -1,16 +1,27 @@
 # Example Zope instance configuration file
 
+%define INSTANCE /Users/philipp/dev/Zope3/
+
 # identify the component configuration used to define the site:
-site-definition /Users/philipp/dev/Zope3/site.zcml
-#site-definition site.zcml
+site-definition $INSTANCE/site.zcml
 
 <zodb>
-   <zeoclient>
-     server localhost:9999
-     storage 1
-     # ZEO client cache, in bytes
-     cache-size 20MB
-     # Uncomment to have a persistent disk cache
-     #client zeo1
-   </zeoclient>
+  <filestorage>
+    path $INSTANCE/Data.fs
+  </filestorage>
+
+# XXX zeo config hangs in ZEO.ClientStorage.ClientStorage.__init__
+# when calling _wait() in order to wait for connections to be
+# established.  Looks like it can't spawn threaded processes to open a
+# connection to the ZEO server (although the ZEO server does note in
+# its log that it has a connection).
+
+#   <zeoclient>
+#     server localhost:9999
+#     storage 1
+#     # ZEO client cache, in bytes
+#     cache-size 20MB
+#     # Uncomment to have a persistent disk cache
+#     #client zeo1
+#   </zeoclient>
 </zodb>


More information about the z3-checkins mailing list