Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
How to change the location of the Temp folder for TIBCO Spotfire Server.
Solution:
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.
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.
TIBCO Spotfire Server Installation and Administration Manual:
Comments
0 comments
Article is closed for comments.