TIBCO Spotfire Server fails to start with "Error creating bean with name ‘spotfireCa’ defined in class path resource"

TIBCO Spotfire Server fails to start with "Error creating bean with name ‘spotfireCa’ defined in class path resource"

book

Article ID: KB0074638

calendar_today

Updated On:

Products Versions
Spotfire Server 10.3 and higher

Description

Spotfire Server may fail to start and we can see the error below in the "server.log"
-------------------------------------------------------------------------------
[*Initialization*] web.context.ContextLoader: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceAnnouncer' defined in class path resource [applicationContext-nodeManager-common.xml]: Cannot resolve reference to bean 'serviceObservers' while setting bean property 'serviceObservers'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeManager' defined in class path resource [applicationContext-nodeManager-common.xml]: Cannot resolve reference to bean 'nodeManagerServiceConfiguration' while setting bean property 'serviceConfigurationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeManagerServiceConfiguration' defined in class path resource [applicationContext-nodeManager-supervisor.xml]: Cannot resolve reference to bean 'servicePersistenceService' while setting bean property 'persistenceService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'servicePersistenceService': Unsatisfied dependency expressed through field 'spotfireCA'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spotfireCa' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'ocspResponder' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocspResponder' defined in class path resource [applicationContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.spotfire.server.security.trust.OCSPResponder]: Constructor threw exception; nested exception is java.lang.NoSuchFieldError: id_tc26_signwithdigest_gost_3410_12_256

---------------------------------------------------------------------------------------------------

Issue/Introduction

This knowledge base article explains how to resolve "Error creating bean with name ‘spotfireCa’ defined in class path resource" which is seen the Spotfire Server log (server.log)

Environment

All

Resolution

Such issues are seen when custom JAR files have been placed in the "<spotfire server installation directory>\tomcat\lib" directory.
If so, move them to "<spotfire server installation directory>\tomcat\custom-ext" (or remove them if not needed), and then restart the Spotfire Server Service.

You may also encounter this issue when there are duplicate JAR files in "<spotfire server installation directory>\tomcat\lib or "<spotfire server installation directory>\tomcat\webapps\spotfire\WEB-INF\lib". If so, remove the duplicates, and then restart the Spotfire Server Service.