How to enable TIBCO Statistica Service capability for TIBCO Spotfire

How to enable TIBCO Statistica Service capability for TIBCO Spotfire

book

Article ID: KB0072333

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.6
Spotfire Server 10.3,10.4

Description

If using Spotfire Server 10.3 or 10.4, the Statistica service capability needs to be allowed on the Spotfire Server. Note that if using Spotfire Server 10.5 or higher, the capability need not be specifically enabled.

PREREQUISITES:
1. Administrator privileges on Spotfire Server
2. Spotfire Server Configuration Tool password
3. Statistica service added to Spotfire Server as detailed in : https://support.tibco.com/s/article/How-to-deploy-the-TIBCO-Data-Science-Service-Statistica-Service-for-TIBCO-Spotfire

Issue/Introduction

This article explains how to enable TIBCO Statistica Service capability for TIBCO Spotfire

Resolution

1. On Spotfire Server, browse to <Spotfire Install directory>/tomcat/spotfire-bin directory. Copy the location and launch an Administrative Command prompt.

2. Change directory to the <Spotfire Install directory>/tomcat/spotfire-bin in the command prompt and execute the command : config.bat export-config.
Note:  Spotfire Server Configuration Tool password is needed to perform these steps
User-added image


3. Open the configuration.xml file in a text editor which is located at the \tomcat\spotfire-bin folder and add the below section in the root configuration element. 

 <custom-services-proxy> <allowed-capabilities> <allowed-capability>STATISTICA</allowed-capability> </allowed-capabilities> </custom-services-proxy>


User-added image
Note: Ensure you have all needed services listed there. If only STATISTICA is listed in the allowed-capability list, then only the Statistica service will be allowed. If you use the TERR or Python services, then ensure TERR and Python are listed as an allowed-capability as well.

4. Save the configuration.xml file and run the following command in command prompt :  
config.bat import-config -c "adding custom capability"
User-added image

5. Restart the Spotfire Server Service .

Additional Information

KB: https://support.tibco.com/s/article/How-to-deploy-the-TIBCO-Data-Science-Service-Statistica-Service-for-TIBCO-Spotfire.