Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
TIBCO Spotfire Server fails to start with "Failed to start component" "java.lang.NullPointerException" error
Solution:
After successfully installing the TIBCO Spotfire Server, when you enter the server URL (for exampe http://server:port/spotfire) in the browser, you may receive a 404 error and the TIBCO Spotfire Server administration web page fails to load. In the catalina.log, you see the following error indicating that the server could not start:
12-Sep-2017 14:14:05.398 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Spotfire].StandardHost[localhost].StandardContext[/spotfire]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ... Caused by: java.lang.NullPointerException at java.io.File.<init>(File.java:277) at com.spotfire.server.lifecycle.SpotfireApplicationInitializer.initRootContext(SpotfireApplicationInitializer.java:134) ... 12-Sep-2017 14:14:05.400 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/usr/local/bin/tibco/tss/7.10.0/tomcat/webapps/spotfire] java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Spotfire].StandardHost[localhost].StandardContext[/spotfire]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:756) ...This error indicates that you have not created a bootstrap file or there is an issue with the existing bootstrap file. In Linux, if the bootstrap is a soft link you will have this issue. To resolve, unlink (if applicable) and create a new bootstrap.
Doc: Creating the bootstrap.xml file
Comments
0 comments
Article is closed for comments.