Setting -Djava.io.tmpdir on Clarity Java JVM parameters
searchcancel
Setting -Djava.io.tmpdir on Clarity Java JVM parameters
book
Article ID: 282019
calendar_today
Updated On: 04-12-2024
Products
Clarity PPM On PremiseClarity PPM SaaS
Issue/Introduction
Java tmpdir / tempdir can be set separately for each service. This can be done on systems on which Temp directory is not easily accessible or needs additional setup
Resolution
With the Clarity user, connect to Clarity server and make sure there is a folder created with full permissions.
You may use the default tempDir which is set to $clarity/temp
Example:
Clarity folder is C:\clarity
Create a temp folder: C:\clarity\temp
Update the properties.xml file, and add to the jvmParameters of the service needed:
-Djava.io.tmpdir='<path_to_clarity_tempdir>'
Restart all services
Repeat on any other server in cluster
Note: Typically the tmpdir will be set on both app and bg service
Additional Information
This is not a required JVM parameter and should only be used when you face an issue with the OS Temp directory retrieved by Clarity