book
Article ID: KB0076692
calendar_today
Updated On:
Description
When you try to run any CLI commands on the TIBCO Spotfire Server (see Executing commands on the command line for more details), it may fail with the following message:
'export-service-config' is not recognized as an internal or external command, operable program or batch file.
In the above command, we tried using 'export-service-config' command as an example.
Resolution
All CLI commands on the TIBCO Spotfire Server must be executed from the directory which contains the config.bat file (config.sh on Linux). This directory is
<server installation dir>/tomcat/spotfire-bin by default (for versions 10.2 and lower, this is
<server installation dir>/tomcat/spotfire). This is where you have to execute commands, and if you execute from a different location you will get the error above. Each of these commands have to be prefixed with "config" (Windows) or "config.sh" (Linux) before the actual command.
For example, on Windows:
\tomcat\spotfire-bin>config export-service-config --capability=WEB_PLAYER --deployment-area=Production
On Linux:
/tomcat/spotfire-bin>./config.sh export-service-config --capability=WEB_PLAYER --deployment-area=Production
Issue/Introduction
Unable to run TIBCO Spotfire Server commands on the command line