Changing the Link temporary directory
To change the HCL Link temporary directory, complete the following steps:
- Create a new directory. Ensure that the location is not mounted with the
noexec
option. Check the output of the mount. For example, you can run the following from a command window:mkdir /opt/hiptmp chmod 777 /opt/hiptmp
- Add a new line to
hip-server-native.env
to specify the new directory. For example:JAVA_OPTS="$JAVA_OPTS -Djava.io.tmpdir=/opt/hiptmp"
- Modify the existing lines in
hip-server-native.env
for the long and short workers as shown here:HIP_LONG_WORKER_JVM_OPTIONS="-Xmx2g -Djava.io.tmpdir=/opt/hiptmp" HIP_SHORT_WORKER_JVM_OPTIONS="-Djava.io.tmpdir=/opt/hiptmp"
- Copy the new configuration into the HCL Link installation by executing the following from a
command
window:
cp hip-server-native.env tomcat-context/install/hip-server.env
- Restart the Link.