You are currently reviewing an older revision of this page.

"Error creating bean with name 'pojoDatatypesConfig'" returned during application server startup

Symptoms

During application server startup, the following error is shown in the application server log:

INFO  [stdout] (ServerService Thread Pool -- 61) 2017-11-29 08:54:30,476 [ServerService Thread Pool -- 61] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pojoDatatypesConfig' defined in com.appiancorp.common.spring.BootstrapSpringConfig: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.appiancorp.rdbms.config.PrimaryDataSourceConfig]: : Error creating bean with name 'primaryDataSourceConfig' defined in com.appiancorp.common.spring.BootstrapSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.rdbms.config.PrimaryDataSourceConfig]: Factory method 'primaryDataSourceConfig' threw exception; nested exception is java.lang.StackOverflowError; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSourceConfig' defined in com.appiancorp.common.spring.BootstrapSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.rdbms.config.PrimaryDataSourceConfig]: Factory method 'primaryDataSourceConfig' threw exception; nested exception is java.lang.StackOverflowError

Cause

The search-server indices have become corrupt and the application server is unable to synchronize them with the primary datasource.

Action

  1. Stop the application server
  2. Stop the search-server
  3. Clear the search-server indices by following KB-1082
  4. Clear the application server cache by following KB-1232
  5. Start the search-server
  6. Start the application server

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: November 2017