How to change the location of the Temp folder for TIBCO Spotfire Server.

How to change the location of the Temp folder for TIBCO Spotfire Server.

book

Article ID: KB0080308

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

The TIBCO Spotfire Server has a Temp folder that is used to keep temporary files such as Client deployment packages, Information link cache, etc. The following procedures can be used to move the Temp folder to another location (folder or drive) on the server.

Issue/Introduction

How to change the location of the Temp folder for TIBCO Spotfire Server.

Resolution

On Windows:

  1. Stop the TIBCO Spotfire Server service.
  2. Run the command "service.bat remove". You need to run the command from "<server install dir>\tomcat\bin" (default C:\tibco\tss\x.x.x\tomcat\bin).
  3. Open the file service.bat in a text editor and search for the string "Djava.io.tmpdir=%CATALINA_BASE%\temp" .
  4. Remove the string "%CATALINA_BASE%\temp" and replace it with the path you want it to use. Note that the folder must exist and will not be created automatically. If it does not exist, the Spotfire server will throw an error.
  5. Open the file catalina.bat in a text editor and search for the string "CATALINA_TMPDIR=%CATALINA_BASE%\temp" .
  6. Remove the string "%CATALINA_BASE%\temp" and replace it with the path you want it to use.
  7. Run the command "service.bat install". You need to run the command from "<server install dir>\tomcat\bin" (default C:\tibco\tss\x.x.x\tomcat\bin).
  8. Start the TIBCO Spotfire Server service

 

On Linux:

  1. Stop the TIBCO Spotfire Server service.
  2. Open the file catalina.sh (located in tomcat/bin) in a text editor and search for the string "CATALINA_TMPDIR="$CATALINA_BASE"/temp" .
  3. Remove the string "$CATALINA_BASE"/temp" and replace it with the path you want it to use. Note that the folder must exist, it will not be created automatically. If it does not exist, the Spotfire server will throw an error.
  4. Start the TIBCO Spotfire Server service.

Additional Information

TIBCO Spotfire Server Installation and Administration Manual: