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.
- 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.