How to change the default location of the Web Player temporary files in Spotfire versions 7.5 and higher

How to change the default location of the Web Player temporary files in Spotfire versions 7.5 and higher

book

Article ID: KB0078911

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.5 and higher

Description

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 needed the location can be changed. Refer the resolution section for the steps.

Issue/Introduction

This knowledge base article describes the steps to change/customize the location of Web Player temporary files

Environment

All supported operating systems

Resolution

- On the computer running Spotfire Server, open Windows command line/prompt as an administrator and change the directory to the path to "<server installation dir>/tomcat/bin"
  The default server installation path is "<server installation dir>/tomcat/bin"

- Export the Web Player configuration
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/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

Once the service configuration is imported to the Spotfire Database, you may set/activate it through the Spotfire Servers Admin page > Nodes & Services > Highlight the Web Player Service on which the configuration needs to be applied.

 

Additional Information

https://docs.tibco.com/pub/spotfire_server/10.1.0/doc/html/TIB_sfire_server_tsas_admin_help/GUID-CB76129A-070D-4AAE-9A43-181414DB8E02.html

https://docs.tibco.com/pub/spotfire_server/7.11.2/doc/html/TIB_sfire_server_tsas_admin_help/GUID-2F303E7A-DAD8-4615-B7F8-423B18375AD0.html

set-server-service-config
Sets the configuration for a service running in Spotfire Server (typically the Spotfire Web Player front-end).