Re: [Zope] ZPsycopgDA dropping connections?

2005-04-20 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 20 Apr 2005 03:23 pm, Richard Jones wrote:
 Has anyone else seen ZPsycopgDA just lose its connection?

I just looked in Shared/DC/ZRDB/Connection.py

If the connection string is empty (which is quite valid for my setup, as it 
turns out) then the DA won't connect automatically. It won't even try.

Could this be considered a bug, or am I missing something obvious?


 Richard
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCZe/vrGisBEHG6TARAlfdAJ0ajEyBaGgTMMH+0bjL3NXv0g/UaQCeMDvD
oJ1HMFf0yhXhE8OwQSzwFYI=
=cmtl
-END 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] ZPsycopgDA dropping connections?

2005-04-20 Thread Chris Withers
Richard Jones wrote:
I just looked in Shared/DC/ZRDB/Connection.py
If the connection string is empty (which is quite valid for my setup, as it 
turns out) then the DA won't connect automatically. It won't even try.

Could this be considered a bug, or am I missing something obvious?
Most of Shared/DC/ZRDB/Connection.py could be considered a bug ;-)
But yeah, this one might not be a total bitch to fix, unlike everything 
else in there...

cheers,
Chris
--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
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] ZPsycopgDA dropping connections?

2005-04-19 Thread Tino Wildenhain
Hi,

Am Mittwoch, den 20.04.2005, 15:23 +1000 schrieb Richard Jones:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Has anyone else seen ZPsycopgDA just lose its connection? I've got two ZEO 
 clients set up to use it, and every now and then one of them (the primary) 
 just up and loses its connection. There doesn't appear to be any message in 
 the log file *except* for the message saying that the connection's not 
 active:
 

I remember there was a thread in the mailinglist about the new version
of ZPsycopgDA not automatically reconnecting after loosing connection.
So instead of the previous versions you now see the fact the connections
are dropped.

The reason for dropping the connection in the first place often lay in 
the inproper configuration of a intermediate firewall (see tcp session
timeout there)

Regards
Tino

___
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 )