Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Unable to run TIBCO Spotfire Server commands on the command line
Solution:
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. 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=ProductionOn Linux:
/tomcat/spotfire-bin>./config.sh export-service-config --capability=WEB_PLAYER --deployment-area=ProductionDoc: Executing commands on the command line
Comments
0 comments
Article is closed for comments.