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)
...