You are currently reviewing an older revision of this page.

[DRAFT] KB-XXXX Tomcat fails to start with 'Connection pool Abandon' warning

Symptoms

Tomcat is not able to start after changes <APPIAN_HOME>/conf/tomcat-resources.xml The following error can be seen in the application server log:

WARNING [Tomcat JDBC Pool Cleaner[xxxxxxxxxx:xxxxxxxx]] org.apache.tomcat.jdbc.pool.ConnectionPool.abandon Connection has been abandoned PooledConnection[com.xxx.xxx.xxx.xxx]:java.lang.Exception

Cause

This issue occurs when <APPIAN_HOME>/conf/tomcat-resources.xml has the below property set.  The error above occurs mainly due to removeAbandonedTimeout value present, and removeAbandoned is set to "true"

removeAbandoned="true"
removeAbandonedTimeout="30"
logAbandoned="true"

Action

Set removeAbandoned ="false"

or

Remove the above lines from cause from the file  <APPIAN_HOME>/conf/tomcat-resources.xml

The documentation for Configuring Relational Databases can be found  .

The documentation doesn't recommend having the below in <APPIAN_HOME>/conf/tomcat-resources.xml

removeAbandoned="true"
removeAbandonedTimeout="30"
logAbandoned="true"

Affected Versions

  • This article applies to Appian 18.3 and later.
  • Last Reviewed : October 2019