Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

File upload temporary directory

WP v.2Dec 7 2020

Hi all,
I am trying to change the directory of where files are stored temporarily when being uploaded to WL. I found two config file properties that seemed promising. But adding these configs did not change the default directory that the files are being uploaded to.
web.xml

 <context-param>
  <param-name>org.apache.myfaces.trinidad.UPLOAD_TEMP_DIR</param-name>
  <param-value>/data/tmp</param-value>
 </context-param>

trinidad-config.xml

 <uploaded-file-temp-dir>/data/tmp</uploaded-file-temp-dir>

Both of these approaches did not work and the file continued to be uploaded to the default directory "/tmp"
Any ideas? I'm using JDeveloper 12.2.1.4, same for WLS.

Thanks,
Bill

This post has been answered by Timo Hahn on Dec 7 2020
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2021
Added on Dec 7 2020
17 comments
1,988 views