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

Reply via email to