[Zope] Zope Sybase database connection keeps closing

Dieter Maurer dieter at handshake.de
Wed May 11 14:36:52 EDT 2005


Abhilasha Chaudhary wrote at 2005-5-10 14:14 -0400:
>My zope Sybase database connections keep closing for no apparent reason.

This may happen when the DA instance is flushed from the ZODB.
Usually, it reopens automatically either when it is loaded
again or when used.

>When I try to reopen the connections they sometimes give me the 
>following error:
>
>*Invalid connection string: *|database: , password: access, server: 
>SYBTIGR, transactional: Y, user: access

This is a silly way to indicate problems during the connection.
Because usually the connection fails due to an invalid
connection string, the code thinks without check that it is
indeed this problem.

If you are lucky, the code has at least written a log entry
(look into your logfile!) which explains the true reason.
If not, you must change the code to get such a log entry.

-- 
Dieter


More information about the Zope mailing list