"closing all connections" infinite loop #966

drdozer opened this Issue Apr 11, 2011 · 1 comment


None yet
3 participants

drdozer commented Apr 11, 2011


class Boot {
def boot() {
if (!DB.jndiJdbcConnAvailable_?) {
DB.defineConnectionManager(DefaultConnectionIdentifier, DBVendor)

  LiftRules.unloadHooks.append(() =>


When this code has run, there is an unload hook registered. If later the initialization of the database connection fails, then during shutdown we get an infinite printing of:

20:31:37.775 [Shutdown] INFO net.liftweb.mapper.ProtoDBVendor - Closing all connections

This prevents the container from exiting.

@ghost ghost assigned dpp Mar 1, 2012

etorreborre pushed a commit to etorreborre/framework that referenced this issue Dec 3, 2014

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment