KB-1955 Application server fails to start with "NoRouteToHostException" exception

Symptoms

The application server fails to start with the following error observed in the application server log:

ERROR com.appiancorp.tempo.rdbms.index.NewsIndexRdbmsConfiguration - Error retrieving property: internal.REPLICATION_INTERVAL_MS org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Cannot open connection
...
Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)

Cause

The application server needs to connect to the primary database for it to successfully deploy Appian. This exception will be observed if the database is unavailable or unreachable due to network issues.

Action

Check with the database administrator to ensure the database is available. Confirm that there are no networking issues that may prevent the application server from communicating with the database.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: June 2019

Related
Recommended