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:
Stop the TIBCO Spotfire Server service.
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).
Open the file service.bat in a text editor and search for the string "Djava.io.tmpdir=%CATALINA_BASE%\temp" .
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.
Open the file catalina.bat in a text editor and search for the string "CATALINA_TMPDIR=%CATALINA_BASE%\temp" .
Remove the string "%CATALINA_BASE%\temp" and replace it with the path you want it to use.
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).
Start the TIBCO Spotfire Server service
On Linux:
Stop the TIBCO Spotfire Server service.
Open the file catalina.sh (located in tomcat/bin) in a text editor and search for the string "CATALINA_TMPDIR="$CATALINA_BASE"/temp" .
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.
Start the TIBCO Spotfire Server service.
Additional Information
TIBCO Spotfire Server Installation and Administration Manual: