Re: [Zope-DB] zope2 rdb and reconnect

2007-12-10 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2007-12-9 13:42 -0500: >Found the problem. >I back ported this connector from a zope3 app. For the retry, being >raised was rdb.interfaces.Retry, I changed it to raise ZPublisher.Retry, >which works for zope2. > >Maybe there is a better way for zope2, but this works. A

Re: [Zope-DB] zope2 rdb and reconnect

2007-12-09 Thread zope
Found the problem. I back ported this connector from a zope3 app. For the retry, being raised was rdb.interfaces.Retry, I changed it to raise ZPublisher.Retry, which works for zope2. Maybe there is a better way for zope2, but this works. -Kevin Brian Sutherland wrote: On Thu, Dec 06, 2007 at

[Zope-DB] zope2 rdb and reconnect

2007-12-06 Thread zope
I am wondering about the behavior of the publisher in regards to rdb.ZopeDatabaseAdapter when a Retry is raised do to a mysqldba.OperationalError. From what I understand, when Publisher recieves a Retry it again retries the request, but in my current case I see the error message. Is my unde