Server environment properties

When Spotfire Statistics Services starts, it establishes the environment by checking for the existence certain Java properties. These Java properties are specified during Spotfire Statistics Services installation.

Java Property Description
spserver.share Path to the centralized configuration and shared storage area for a Spotfire Statistics Services cluster. In a standalone installation, the default value is set to the base installation directory.
spserver.home Path to the base installation directory of Spotfire Statistics Services . The default values are:
  • Windows: Spotfire Statistics Services on Windows: C:\Program Files\TIBCO\statsvcs1140\<service_name>
  • UNIX/Linux: /opt/TIBCO/statsvcs1140
spserver.terrhome Path to the installation for the TERR engine. The default values are:
  • Windows: C:\Program Files\TIBCO\statsvcs1140\<service_name>\engines\terr

  • UNIX/Linux: /opt/TIBCO/statsvcs1140/engines/terr
spserver.rhome Path to the installation for the R engine. For more information, see Configuring an open-source R engine.
spserver.sashome Path to the installation for the SAS engine. For more information, see Configuring a SAS engine.
spserver.matlabhome Path to the installation for the MATLAB engine. For more information, see Configuring a MATLAB engine.

In most cases, the values set by the installer should be sufficient; however, you can customize these values. If you want to modify the values on a Windows computer, see Using Procrun to modify a Java property. On UNIX/Linux computers, you can modify the values by editing the SPSERVER_HOME/init.d/spserver file. You can modify the values for any of the properties and the next time you restart the service your changes will appear. We recommend that you make a backup of the file before you make any modifications.

In some cases, you might find it necessary to override the Java properties temporarily without altering the values set by the installer. You can do this by setting any one of the environment variables.

Each environment variable is equivalent to its corresponding Java property except the environment variable takes precedence. For example, if you want to override the value that the installer set for spserver.terrhome, you can specify the SPSERVER_terrhome environment variable as in the following example:

SPSERVER_terrhome=/path/to/alternate/terr.

We recommend that you avoid using environment variables, because when you mix environment variables and Java properties, it can be confusing when you need to troubleshoot your installation. If you do need to verify your environment, you can review the Spotfire Statistics Services log for text indicating the values used to establish the environment, these settings are added to the log file soon after startup.