By default the
Web Player service stores temporary files, paging, and caching data (scheduled updates caching and Spotfire Binary Data File (SBDF) caching) in the Temp directory inside the service installation directory. If you need to change the location, or if Spotfire Support suggests that you change it, follow this procedure.
Procedure
-
On the computer running
Spotfire Server, open a command line as an administrator and change the directory to the path of the
config.bat file (config.sh on Linux).
The default file path is
<server installation dir>/tomcat/spotfire-bin.
-
Export the service configuration by using the
export-service-config command.
Example:
config export-service-config --tool-password=mypassword --capability=WEB_PLAYER --deployment-area=Production
-
Open the
Spotfire.Dxp.Worker.Host.exe.config file in a text editor or XML editor and locate the following section. By default, the exported configuration files are saved to the
<server installation dir>/tomcat/spotfire-bin/config/root directory.
<Spotfire.Dxp.Internal.Properties.Settings>
<setting name="TempFolder" serializeAs="String">
<value>Temp</value>
</setting>
-
Replace the value
Temp
with the path to the new Temp directory.
Important: The Temp directory should be located on a local disk.
Example:
<Spotfire.Dxp.Internal.Properties.Settings>
<setting name="TempFolder" serializeAs="String">
<value>C:\NewTemp</value>
</setting>
-
Save and close the configuration file.
-
Return to the command line and import the custom configuration using the
import-service-config command.
Example:
config import-service-config --tool-password=mypassword --config-name=SampleConfig
-
Apply the custom configuration to specific services by using the
set-service-config command.
Example:
config set-service-config --tool-password=mypassword --service-id="VALUE" --config-name=SampleConfig
Results
The configuration setting for the indicated
Web Player service is displayed in
Nodes & Services, and the
Web Player temporary files should be written as specified.