Fail to export the TIBCO Spotfire service configuration with the error "No Service Configuration with the given name found"

Fail to export the TIBCO Spotfire service configuration with the error "No Service Configuration with the given name found"

book

Article ID: KB0075780

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.5 and higher

Description

Fail to export the service configuration with the error "No Service Configuration with the given name found", when using the CLI  Config export-service-config --config-name= <config_name>
The above error is returned if the config file name is either invalid or has a space character.

Issue/Introduction

Fail to export the TIBCO Spotfire service configuration with the error "No Service Configuration with the given name found"

Resolution

To confirm the config name used in the command is valid, run the below command to export the active service configuration

For version 10.3 and higher
<Spotfire Server Install>\tomcat\spotfire-bin\config list-active-service-configs

For version 10.2 and below
<Spotfire Server Install>\tomcat\bin\config list-active-service-configs

If there is any space characters in the config name, use the config name in the quotes.

Example:
For version 10.3 and higher
<Spotfire Server Install>\tomcat\spotfire-bin\config export-service-config --config-name= "Sample Config"

For version 10.2 and below
<Spotfire Server Install>\tomcat\bin\config\export-service-config --config-name= "Sample Config"