Ok, never mind please. The app was trying to load cached objects when the database connection was closed as described here:
https://bugs.launchpad.net/zodb/+bug/224848/comments/2 -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.