KB-1049 "Connection is not associated with a managed connection" error printed in application server log


In the application server log, the following error is printed:

java.sql.SQLException: Connection is not associated with a managed connection


The following are possible causes for this issue:

  • The database server hosting the primary database is restarted and the application server doesn't refresh the connections.
  • There are connection leaks (connections to the database are opened but are not closed at the application level).


To resolve this issue, restart the application server.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: February 2017