TIBCO Spotfire Server fails to start with the error "apache ignite instance is not initialized" in catalina.log

TIBCO Spotfire Server fails to start with the error "apache ignite instance is not initialized" in catalina.log

book

Article ID: KB0077207

calendar_today

Updated On:

Products Versions
Spotfire Server 10.0.0 and higher

Description

The TIBCO Spotfire Server may fail to start throwing following exception in catalina.log file:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'heartBeatInspector' defined in class path resource [applicationContext-nodeManager-supervisor.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.spotfire.server.nodemanager.control.HeartBeatInspector]: Constructor threw exception; nested exception is com.spotfire.server.ServerInitializationException: apache ignite instance is not initialized
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:304)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:285)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1325)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1171)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:367)
	... 101 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.spotfire.server.nodemanager.control.HeartBeatInspector]: Constructor threw exception; nested exception is com.spotfire.server.ServerInitializationException: apache ignite instance is not initialized
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:184)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:300)
	... 111 more
Caused by: com.spotfire.server.ServerInitializationException: apache ignite instance is not initialized
	at com.spotfire.server.cluster.DistributedMapFactory.create(DistributedMapFactory.java:54)
	at com.spotfire.server.nodemanager.control.HeartBeatInspector.<init>(HeartBeatInspector.java:106)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172)
	... 113 more

 

Issue/Introduction

TIBCO Spotfire Server fails to start with the error message apache ignite instance is not initialized in catalina.log

Resolution

This error is seen if the Apache Ignite clustering is not initialized which could possibly be if the default port 5701 is occupied by some other application. Therefore, to resolve the issue ensure to use an open port
Starting with Spotfire Server 10.0, Apache Ignite clustering is now enabled by default in the server configuration. This is applicable for both newly installed and upgraded servers.

Additional Information

Doc: Setting up cluster of Spotfire servers