KB-1265 "java.lang.IllegalStateException: <APPIAN_HOME>/search-server/ss.ear/ss.war/WEB-INF/elasticsearch.yml is required (must be accessible from the filesystem)" error thrown in application server log preventing environment access

Symptoms

The following error is seen in the application server log which prevents the environment from being accessible:

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ss]] (ServerService Thread Pool -- 51) JBWEB000287: Exception sending context initialized event to listener instance of class com.appian.es.webapp.NodeInitListener: java.lang.IllegalStateException: <APPIAN_HOME>/search-server/ss.ear/ss.war/WEB-INF/elasticsearch.yml is required (must be accessible from the filesystem)

Cause

The path to the search-server directory is incorrectly defined in path.properties. This file does not need manual edits, however if you changed the location of <APPIAN_HOME> this file might still be pointing to the old location causing the problem described in this article.

Action

  1. Open path.properties in <APPIAN_HOME>/search-server/conf.
  2. Change the paths to reflect the correct <APPIAN_HOME> directory.
  3. Restart the application server.

Affected Versions

This article applies to Appian 7.8 and earlier.

Last Reviewed: March 2017

Related
Recommended