[Zope] Deployment Best Practices?
I'm in the process of attempting to migrate a fairly large scale internal XMLRPC system over to Zope. The current system is all custom. That provides for a lot of internal code that we really don't need to be managing. I'm looking for best practices and approaches to deploying Zope 3 instances and a backend ZEO server to share the data. I don't think I've seen it covered anywhere. I've seen it documented from the Zope 2 perspective (both old school and via buildout recipes). It seems this would be a fairly common configuration. Is this stuff covered anywhere? I've been hitting Google up for the last hour or so and I can't seem to find any documentation on deployment and update methodologies. Thanks! ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Deployment Best Practices?
--On 11. Juli 2008 10:57:17 -0400 Jeff McNeil <[EMAIL PROTECTED]> wrote: I'm in the process of attempting to migrate a fairly large scale internal XMLRPC system over to Zope. The current system is all custom. That provides for a lot of internal code that we really don't need to be managing. I'm looking for best practices and approaches to deploying Zope 3 instances and a backend ZEO server to share the data. I don't think I've seen it covered anywhere. I've seen it documented from the Zope 2 perspective (both old school and via buildout recipes). It seems this would be a fairly common configuration. I don't see how this would be different in the Zope 3 world. Buildout is the way to go. Depart from that your question is pretty generic. -aj pgpKh8kRWy9Ua.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Deployment Best Practices?
That's not all that obvious to someone new to the Zope system. Most of the documentation I've found is geared towards the 2.x branch. As Zope 3 and Zope 2 are different animals, I wouldn't think that the deployment steps and recommendations would be all that similar. I really like what I've seen thus far, it's just been difficult at times as it feels like I'm fighting with documentation. So I'm assuming I'll just need to build up a Zeo server instance with zc.zodbrecipes and update my corresponding buildout.cfg for the Zope instances? If Buildout is the preferred deployment tool, then my redistributable is a sandbox tarball or an RPM containing the skeleton files needed to bootstrap a buildout run on the target hosts? Maybe I'll dump the whole process on a blog somewhere as I step through it. I do have another question. The project we're working on is plug-in based. Within the old system, eggs are loaded dynamically using setuptools pkg_resources and we define certain entry points for capability registration. Eggs are added to a directory and a config entry is made such that we can load the proper version of each plug-in. Is there an upfront way to reproduce that functionality without needing to update setup.py and rerun buildout every time we want to push a new plug-in or update an existing? I'd love to be able to just drop an egg on the file system and tell Zope "Here, go load that one now" via configuration alone. My apologies if some of this is obvious. As I said, I'm really just tackling Zope for the first time. Jeff On Fri, Jul 11, 2008 at 11:01 AM, Andreas Jung <[EMAIL PROTECTED]> wrote: > > > --On 11. Juli 2008 10:57:17 -0400 Jeff McNeil <[EMAIL PROTECTED]> wrote: > >> I'm in the process of attempting to migrate a fairly large scale >> internal XMLRPC system over to Zope. The current system is all custom. >> That provides for a lot of internal code that we really don't need to >> be managing. >> >> I'm looking for best practices and approaches to deploying Zope 3 >> instances and a backend ZEO server to share the data. I don't think >> I've seen it covered anywhere. I've seen it documented from the Zope 2 >> perspective (both old school and via buildout recipes). It seems this >> would be a fairly common configuration. > > I don't see how this would be different in the Zope 3 world. > Buildout is the way to go. Depart from that your question is pretty > generic. > > -aj ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] newInteraction error
Hello, I am getting a fair number of these errors popping up: Error Type: AssertionError Error Value: newInteraction called while another interaction is active. I searched for the error mesage and only came up with a reference to Philipp von Weitershausen's book, which I have, but it really doesn't tell me much (while it quite possibly would tell another plenty :). Strangely, the logs do not show this error, but they do have Unauthorized Errors correspondding to the page template that was being requested when the newInteraction error was thrown. Our environment looks like this: Zope Version (Zope 2.10.6-final, python 2.4.4, linux2) Python Version 2.4.4 (#2, Mar 7 2008, 03:56:06) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] System Platform linux2 SOFTWARE_HOME /opt/testsite.com/parts/zope2/lib/python ZOPE_HOME /opt/testsite.com/parts/zope2 INSTANCE_HOME /opt/testsite.com/parts/zclient1 CLIENT_HOME /opt/testsite.com/var/zclient1 Network Services ZServer.HTTPServer.zhttp_server (Port: 8050) Process Id 1024 (-1247577200) Running For 1 day 6 hours 12 min 1 sec Any advice greatly appreciated. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] newInteraction error
--On 11. Juli 2008 15:40:23 -0700 Erik Myllymaki <[EMAIL PROTECTED]> wrote: Hello, I am getting a fair number of these errors popping up: Error Type: AssertionError Error Value: newInteraction called while another interaction is active. How can this be reproduced? Any 3rd-party software involved? The exception is raised in lib/python/zope/security/management.py So take your debugger and try to get a full traceback from the debugger. -aj pgpKGFEh9FgIl.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )