[Zope] Zope woes continue - server going down regularly. (pos sible solution)

Michel Pelletier michel@digicool.com
Thu, 9 Dec 1999 10:03:43 -0500


> -----Original Message-----
> From: Cayce Ullman [mailto:c_ullman@yahoo.com]
> Sent: Wednesday, December 08, 1999 9:53 PM
> To: Michel Pelletier; 'Tres Seaver'; zope@zope.org
> Cc: Michel Pelletier; Cayce Ullman; panda@skinnyhippo.com
> Subject: RE: [Zope] Zope woes continue - server going down regularly.
> (pos sible solution)
> 
> 
> Well, I'm not suprised to find out that it was
> something I was doing wrong.  However, the
> symptons still sound fairly similar and I wouldn't
> be suprised it someone his site is doing something
> similar.  Also, I tried :
> x = Zope.app()
> x.close()
> 
> And it complains that x  has no attribute close.

Sorry, x is the application object. '_p_jar' is the database connection
object.

x._p_jar.close()

BTW, all objects have an _p_jar that represents the connection to the
database where they came from.  In the multi-database future, this is
good to know.

-Michel