How to make changes to the custom.properties file for the Spotfire® Service for Statistica®

How to make changes to the custom.properties file for the Spotfire® Service for Statistica®

book

Article ID: KB0137917

calendar_today

Updated On:

Products Versions
Spotfire Service for Statistica 14.3
Spotfire Statistica 14.3

Description

The custom.properites is a text file that can be modified.  However, the settings in this file must be imported using the service-config tool for Spotfire Server for the setting to take effect.  

 

 

Environment

OS:  Windows

Resolution

1.  On the Spotfire Server machine, go to the location where the config.bat is located.  Typical location is C:\spotfire\spotfireserver\14.2.0\tomcat\spotfire-bin

2.  Open an admin command prompt

3.  Change directory to the location of the config tool:

image.png

4.  Export the custom.properties file from here.  To do so, run the following command:

config.bat export-service-config --config-name=[Configname] --tool-password=[Bootstrap_Password]

The Configname is the Configuration showing on Spotfire Server>>Nodes and Services>>Network>>Node Manager>>Statistica.  On the right pane see the configuration name, which below is "Default":

 

image.png

alternatively run: config.bat export-service-config --capability=STATISTICA --deployment-area=[Deployment area] --tool-password=[Bootstrap_Password]

image.png

5.  Go to the service configuration directory.  In the example is it C:\spotfire\spotfireserver\14.2.0\tomcat\spotfire-bin\configoot\conf

6.  Open the custom.properties with a text editor:

image.png

 

Some of the contents of the file:

image.png

Note:  Typically the loggingLevel is increased for troubleshooting, the engine.queue.size is changed to increase the number of engines available to the service to handle additional analyses, or the Java Heap is increased to handle larger analyses.  

7.  Import the custom.properties back to the database by running the following command (if desired, change the --config-name to any other name):

config.bat import-service-config --config-name=javaheapincrease --tool-password=xxx

 

8.  A successful message should appear:

image.png

 

9.  Go to Spotfire Server>>Nodes and Services>>Network>>Node Manager>>Statistica, click Edit, and select the javaincreaseheap configuration, and click Save:

image.png

image.png

 

10.  The STATISTICA service will restart automatically.  Check to see the configuration has changed:image.png

 

 

 

 

 

 

 

 

Issue/Introduction

How to make changes to the custom.properties file for the Spotfire® Service for Statistica®

Additional Information