Deutsch Open-Source Weblog Resources Imprint

Python, Zope, Plone — Development and Consulting

What can we do for you?

Your contact
Andreas Jung will assist you. Please call
+49(0)70 71/79 33 76

Or use our Callback service

On ZODB conflict resolution

ZODB conflict resolution is a build-in mechanism of the ZODB for resolving (write) conflict errors. Applications can implement application-specific conflict resolution handlers by providing their own _p_resolveConflict() implementation. Most people do not know that conflict resolution with a ZEO environment is carried on the ZEO server and not on the ZEO clients. This implies that related application code must be available and importable by the ZEO server. The bin/zeoserver control file generated by the plone.recipe.zope2zeoserver recipe for zc.buildout does not include your Zope products and other modules within the sys.path and PYTHONPATH of the control file. However there is an easy way to include other packages (as eggs) with sys.path and PYTHONPATH. You just have to use the (undocumented) eggs option within the ZEO server part of your buildout.cfg:

 

[buildout]
parts = zeoserver
eggs = ...

[zeoserver]
recipe = plone.recipe.zope2zeoserver
eggs = ${buildout:eggs}

 

Artikelaktionen

Kundenstimme

Für die Webrepräsentation der Gruppen und wissenschaftlichen Projekte am Friedrich-Miescher-Laboratorium setzen wir seit 2005 auf Plone.

Dank Andreas Jungs Expertise konnten auch komplexe Plone-Migrationen in kürzester Zeit abgeschlossen und Plone-Produkte optimal an unsere Bedürfnisse angepasst werden.

Gunnar Rätsch, Gruppenleiter, Friedrich-Miescher-Laboratorium der Max-Planck-Gesellschaft

 
ZOPYX Ltd., Charlottenstr. 37/1, D-72070 Tübingen, Germany
Phone +49(0)70 71/79 33 76, Fax +49(0)70 71/7 93 68 40, Email: info@zopyx.com
Contact form Callback service Print page