The application server fails to start with the following error observed in the application server log:
ERROR [org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl] (Periodic Recovery) IJ000906: Error during crash recovery: jdbc/AppianPrimaryDS (Could not create connection): javax.resource.ResourceException: Could not create connection at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:522)...Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"
The application server will throw this error when attempting to connect to the database server, and all available connections are in use by other clients. More information regarding this database error can be found in the MySQL documentation.
max_connections
This article applies to all versions of Appian.
Last Reviewed: May 2019