When using a bootstrap file created remotely(via configuration tool or bootstrap CLI), Spotfire Server fails to start with "NullPointerException"
book
Article ID: KB0078849
calendar_today
Updated On:
Products
Versions
Spotfire Server
All Supported Versions
Description
When a bootstrap file is created remotely(via bootstrap CLI, or Configuration tool) outside Spotfire server machine and copied it to <installation dir>/tomcat/webapps/spotfire/WEB-INF folder, Spotfire Server may fail to start with the following error message in catalina.log:
------------- SEVERE [main] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Spotfire].StandardHost[localhost].StandardContext[/spotfire]]
The bootstrap file which is created remotely(outside Spotfire server machine) can only be used for configuration and not for starting the TIBCO Spotfire Server service.
To resolve this issue, check if bootstrap.xml file has entries with tag <server> </server>. If there aren't any, create the bootstrap.xml file using configuration tool(uiconfig.bat or uiconfig.sh) located at \tibco\tss\X.X.X\tomcat\bin folder or execute the bootstrap CLI command by navigating to \tibco\tss\X.X.X\tomcat\bin folder location.
A screenshot of the bootstrap.xml file with no <server> tags:
A screenshot of the bootstrap.xml file with <server> tags:
Issue/Introduction
When using a bootstrap file created remotely(via configuration tool or bootstrap CLI), Spotfire Server fails to start with "NullPointerException"