Zope Sybase database connection keeps closing
My zope Sybase database connections keep closing for no apparent reason. 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 When I make a copy of the connection object that is giving this error, the original connection reopens automatically. This behavior seems really bizarre and is causing our Zope website to remain unavailable. Abhilasha
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
participants (2)
-
Abhilasha Chaudhary -
Dieter Maurer