Configuring the Location for Temporary Files
The PTC RV&S Server creates and writes temporary files to several default locations. You can improve server performance or allocate more space for temporary files by modifying server properties to change the temporary directory locations to a larger or faster disk.
To configure where the PTC RV&S Server writes temporary files, modify all of the following properties:
• In server installdir/bin/mksservice.conf, modify the following property:
mks.java.additional.##=-Djava.io.tempdir
|
You can modify the number in mks.java.additional.## to a unique number for your file.
|
• In server installdir/config/properties/is.properties, uncomment the following property and set it to the desired temporary file directory:
mks.user.temp.dir=
There are also server utilities that write temporary files when run. To configure where a utility writes temporary files, add java.io.tmpdir to the following .lax files:
• Collect Support Package Utility — server installdir/bin/collectSupportPackage.lax
• Encrypt Password Utility — server installdir/bin/encryptPassword.lax
• PTC RV&S Server Patch Utility — server installdir/bin/isutil.lax
• Patch Server Utility — server installdir/bin/PatchServer.lax
• Database Utilities — database utils installdir/bin/CopyDB.lax
To add java.io.tmpdir to a .lax file:
1. Open the .lax file in a text editor.
2. Add the following to the end of the lax.nl.java.option.addition setting:
-Djava.io.tmpdir="temporary directory"
|
Do not modify any other existing values.
|
The PTC RV&S Client also creates and writes temporary files to a default location. To change where the client writes temporary files, add java.io.tmpdir to the IntegrityClient.lax file.
1. Edit client installdir/bin/IntegrityClient.lax in a text editor.
2. Add the following to the end of the lax.nl.java.option.addition setting:
-Djava.io.tmpdir="temporary directory"
|
Do not modify any other existing values.
|
Similarly, you can add java.io.tmpdir to the PTC RV&S Client’s Gateway and Patch Client utilities to control where temporary files are written:
client installdir/bin/Gateway.lax
client installdir/bin/PatchClient.lax