You are currently reviewing an older revision of this page.

DRAFT KB-XXXX Search server does not start java.lang.IllegalStateException: failed to load bundle due to jar hell

work in progress...


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

[2017-12-16 20:20:40,268][INFO ][] 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!


This is due to having multiple versions of the same JAR file in place. The error shows that the system is finding both 0.60.0 and 0.60.1 versions of the same JAR. 


Remove one.