Article - CS214799

How to change the Temporary Files Directory for Java Functionality in Windchill PDMLink

Modified: 09-Nov-2025   


Applies To

  • Windchill PDMLink 9.1 to 12.1

Description

  • Compressed upload temporary files are being loaded to a system temp directory that is low on space a new temporary directory is needed
  • System temporary directory is low on space and Windchill files need to be redirected to another temporary directory
  • Import/export project templates use /tmp folder and gives an error in MethodServer log:
    Caused by: java.io.FileNotFoundException: /tmp/uploadXXXXX.tmp (Operation not permitted)
    
            at java.base/java.io.FileInputStream.open0(Native Method)
    
            at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
    
            at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
    
            at wt.inf.template.upload.AbstractTemplateRequestFactory.analyzeFileContents(AbstractTemplateRequestFactory.java:249)
    
            ... 104 more
This is a printer-friendly version of Article 214799 and may be out of date. For the latest version click CS214799