Bug Report: When a file is inserted into a project using file upload, it mounts temporary files, but they are not deleted/FISH-8311 #6545
Labels
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
Type: Bug
Label issue as a bug defect
Brief Summary
I have noticed corrections made in recent years when using fileupload, Ex: #6020, #5231. However, when upgrading my project from payara 5 to payara 6 I noticed that in payara 6, temporary files are generated within payara/glassfish/domains/myDomain/generated/jsp/myapplication/. However, such files are never deleted. I use the Primefaces framework and even opened a problem with their communities, but they verified that it was an issue to be resolved by payara, as follows: Issue Primefaces #11342.
Expected Outcome
That the temporary files generated by fileupload are deleted as soon as the request is completed, avoiding undue consumption of computing resources.
Current Outcome
Whenever a file is inserted using fileupload, several temporary files are generated, but they are being accumulated in the directory: payara/glassfish/domains/myDomain/generated/jsp/myapplication/.
Reproducer
Below is an example project for verification: Project
Operating System
Ubuntu 22.04.3 LTS
JDK Version
java 17.0.8 2023-07-18 LTS
Payara Distribution
Payara Server Full Profile
The text was updated successfully, but these errors were encountered: