KB-1528 Search server does not start with 'java.lang.IllegalStateException: failed to load bundle due to jar hell'

Symptoms

The search server fails to start and the following error is seen in the search-server.log:

[INFO ][com.appian.es.bootstrap.NodeInit] Failed to initialize ElasticSearch node on port 9302. If other ports for this host are specified in appian-topology.xml, those will be tried as well.
java.lang.IllegalStateException: failed to load bundle [file:/E:/appian/search-server/plugins/appian-es-auth/appian-es-auth-0.60.0.jar, file:/E:/appian/search-server/plugins/appian-es-auth/appian-es-auth-0.60.1.jar] due to jar hell
Caused by: java.lang.IllegalStateException: jar hell!

Cause

This is due to having multiple versions of the same appian-es-auth-*.jar JAR file in place, usually encountered from a misapplied hotfix. This particular error shows that the system is finding both 0.60.0 and 0.60.1 versions of the same JAR. 

Action

There should only be one version of the JAR file. To resolve the issue, re-apply the hotfix.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: March 2018

Related
Recommended