Error while running the 'spotfireconfigtool': "Unable to determine the location of the <server installation directory>/tomcat/webapps/spotfire/WEB-INF directory"

Error while running the 'spotfireconfigtool': "Unable to determine the location of the <server installation directory>/tomcat/webapps/spotfire/WEB-INF directory"

book

Article ID: KB0075594

calendar_today

Updated On:

Products Versions
Spotfire Server All versions

Description

The Spotfire Server configuration tool provides a clear path to basic installation and offers the most frequently used configuration options. The configuration tool must be run by a Spotfire administrator. If the Spotfire administrator does not have access to the computer running Spotfire Server, or if the server cannot display graphics, the configuration tool can be run from a local computer. While running any config command from the command prompt, below error message can appear:

"Unable to determine the location of the <server installation directory>/tomcat/webapps/spotfire/WEB-INF directory"

Issue/Introduction

Error while running the 'spotfireconfigtool': "Unable to determine the location of the /tomcat/webapps/spotfire/WEB-INF directory"

Environment

All Supported OS

Resolution

To resolve it, add the bootstrap path to the command explicitly.

Example: C:\Users\userabc\Downloads\spotfireconfigtool>config find-analysis-scripts -d true -p "/Performance" --bootstrap-config="C:\Users\userabc\Downloads\spotfireconfigtool\bootstrap.xml"

Note: Either copy the bootstrap file from the installed Spotfire server(Spotfire Installation Directory\tomcat\webapps\spotfire\WEB-INF) or create a new one to connect to the existing server and paste/save it on the machine from where the 'spotfireconfigtool' is running.