[Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

Tino Wildenhain tino at wildenhain.de
Fri Aug 15 23:40:58 EDT 2003


Just a step in between:

I found ZODB/component.xml, where
there seem to be the definition of
the relevant section of zope.conf.

<zodb_db main>
  <zeo_client>
     server localhost:12345
  </zeo_client>
     mount-point /
     cache-size	5000
     pool-size	7
     version-pool-size	3
     version-cache-size	100
</zodb_db>

<zodb_db images>
   <filestorage>
     path $INSTANCE/var/Images.fs
   </filestorage>
     mount-point /images
      ...

</zodb_db>

zopectl debug yields the following:

File "Zope/lib/python/OFS/Application.py", line 349, in initialize 
tf._setObject('session_data', toc)

AttributeError: _setObject


strange. Perhaps the temp_folder isnt mounted?

There is no reference of the tempstorage in the above definition file...



Tino Wildenhain wrote:
> Hi Chris,
> 
> Chris McDonough wrote:
> 
>> mkzopeclient -z should go away.  You should use the zope.conf file to
>> configure mounted databases.  Unfortunately I haven't had time to
>> include adequate examples in the sample config, but it might help a bit
>> to look at the lib/python/Zope/Startup/zopeschema.xml file.
> 
> 
> That was the second thing I did :-) (first was to look into doc/)
> 
> I spottet the following directives:
> 
> <mount-point/>
> (Seems to be specifiable multiple times)
> <connection-class/>
> <class-factory/>
> 
> ok, I can somehow stick ZEO.ClientStorage.ClientStorage
> into it, but what then? How to set options for
> ClientStorage? Hostname, Port, Cache, Fall-back-Storages
> (as supported by DBTab)
> 
> I can provide the examples for the template once I have
> working ones...
> 
> Regards
> Tino
> 
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope )
> 





More information about the Zope-Dev mailing list