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
>*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.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -