Not able to start spotfire server after new installation

Hello,

I have installed spotfire 7.8.1 on linux server, after installation I am not able to start the server.

Following are the details. I would really appreciate any help here.

Tibco Server version – 7.8.1

Installation Type – Fresh

Database – Oracle

Server – Linux 6.8

This server doesn’t have an oracle client installed. I don’t think that is required since Spotfire uses jdbc driver to connect to oracle.

 

 

Error – As following. Also all the log files and config files attached.

 

16-May-2017 11:23:14.560 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class com.spotfire.server.lifecycle.SpotfireServerInitializer

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rmiConnectorFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'configurationProperties' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationProperties' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'com.spotfire.server.config.UnionConfigurationProvider#6bad7689' of type [com.spotfire.server.config.UnionConfigurationProvider] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.spotfire.server.config.UnionConfigurationProvider#6bad7689' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'com.spotfire.server.config.DatabaseConfigurationProvider#25a1391e' of type [com.spotfire.server.config.DatabaseConfigurationProvider] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.spotfire.server.config.DatabaseConfigurationProvider#25a1391e' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'dataSourceManager$created#407abff8' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.spotfire.server.util.sql.DataSourceManager]: Constructor threw exception; nested exception is com.spotfire.server.ServerInitializationException: Error parsing the database configuration descriptor

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

        at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)

        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1051)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:179)

        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523)

        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)

        at com.spotfire.server.lifecycle.SpotfireServerInitializer.contextInitialized(SpotfireServerInitializer.java:56)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4851)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092)

        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationProperties' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'com.spotfire.server.config.UnionConfigurationProvider#6bad7689' of type [com.spotfire.server.config.UnionConfigurationProvider] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.spotfire.server.config.UnionConfigurationProvider#6bad7689' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'com.spotfire.server.config.DatabaseConfigurationProvider#25a1391e' of type [com.spotfire.server.config.DatabaseConfigurationProvider] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.spotfire.server.config.DatabaseConfigurationProvider#25a1391e' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'dataSourceManager$created#407abff8' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.spotfire.server.util.sql.DataSourceManager]: Constructor threw exception; nested exception is com.spotfire.server.ServerInitializationException: Error parsing the database configuration descriptor

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)

        at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)

        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1051)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)

        ... 31 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.spotfire.server.config.UnionConfigurationProvider#6bad7689' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'com.spotfire.server.config.DatabaseConfigurationProvider#25a1391e' of type [com.spotfire.server.config.DatabaseConfigurationProvider] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.spotfire.server.config.DatabaseConfigurationProvider#25a1391e' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'dataSourceManager$created#407abff8' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.spotfire.server.util.sql.DataSourceManager]: Constructor threw exception; nested exception is com.spotfire.server.ServerInitializationException: Error parsing the database configuration descriptor

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)

        at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)

        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1051)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299)

        ... 43 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.spotfire.server.config.DatabaseConfigurationProvider#25a1391e' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'dataSourceManager$created#407abff8' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.spotfire.server.util.sql.DataSourceManager]: Constructor threw exception; nested exception is com.spotfire.server.ServerInitializationException: Error parsing the database configuration descriptor

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)

        at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)

        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1051)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299)

        ... 51 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.spotfire.server.util.sql.DataSourceManager]: Constructor threw exception; nested exception is com.spotfire.server.ServerInitializationException: Error parsing the database configuration descriptor

        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1051)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1023)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299)

        ... 59 more

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.spotfire.server.util.sql.DataSourceManager]: Constructor threw exception; nested exception is com.spotfire.server.ServerInitializationException: Error parsing the database configuration descriptor

        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)

        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)

        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)

        ... 73 more

Caused by: com.spotfire.server.ServerInitializationException: Error parsing the database configuration descriptor

        at com.spotfire.server.util.sql.DataSourceConfigurationUtil.deserialize(DataSourceConfigurationUtil.java:129)

        at com.spotfire.server.util.sql.DataSourceConfigurationUtil.deserialize(DataSourceConfigurationUtil.java:79)

        at com.spotfire.server.util.sql.DataSourceManager.<init>(DataSourceManager.java:55)

        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:142)

        ... 75 more

Caused by: javax.xml.bind.UnmarshalException

- with linked exception:

[org.jdom.JDOMException: Invalid element content: null]

        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:333)

        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:563)

        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:249)

        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:221)

        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:273)

        at com.spotfire.server.config.JAXBTool.deserialize(JAXBTool.java:237)

        at com.spotfire.server.config.JAXBTool.deserialize(JAXBTool.java:201)

        at com.spotfire.server.util.sql.DataSourceConfigurationUtil.deserialize(DataSourceConfigurationUtil.java:125)

        ... 82 more

Caused by: org.jdom.JDOMException: Invalid element content: null

        at org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1104)

        at org.jdom.output.SAXOutputter.output(SAXOutputter.java:666)

        at org.jdom.transform.JDOMSource$DocumentReader.parse(JDOMSource.java:539)

        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:243)

Attachments

AttachmentSize
Binary Data catalina.2017-05-16.log50.66 KB
Binary Data server.log192.77 KB

2 Comments

UPDATE

turned out that my bootstrap file was wrong. I had created it with the wrong uiconfig tool.

The correct one is inside tomcat/bin directory.

Hopefully, it will help someone.

Regards

pantheo1987 - Oct 26, 2017 - 8:05am

Hello Om,

I have the exact same problem as the one you describe.

Did you manage to find a solution for it?

Thank you,

Panagiotis

pantheo1987 - Oct 26, 2017 - 4:10am
+ Add a Comment

(1) Answer

Login