Setting -Djava.io.tmpdir on Clarity Java JVM parameters
search cancel

Setting -Djava.io.tmpdir on Clarity Java JVM parameters

book

Article ID: 282019

calendar_today

Updated On: 04-12-2024

Products

Clarity PPM On Premise Clarity 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

  1. With the Clarity user, connect to Clarity server and make sure there is a folder created with full permissions.
  2. 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
  3. Update the properties.xml file, and add to the jvmParameters of the service needed:
    • -Djava.io.tmpdir='<path_to_clarity_tempdir>'
  4. Restart all services
  5. 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