Unable to perform any document & media related task post updating Upload Request Size field under system settings.
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- Post updating the upload request size field under system settings user is unable to perform any document & media-related task like uploading files, creating the folder, etc. with the below warning in the server console.
2021-04-30 09:03:17.402 WARN [ajp-nio-8009-exec-3][UploadServletRequestImpl:254] Unable to parse upload request: the request was rejected because its size (393) exceeds the configured maximum (0)
- The upload file size is set to be 0 and user is unable to reset to default values.
Environment
Resolution
-
Navigate to Control Panel → Configuration → System Settings
-
Under the "Platform" section, navigate to Infrastructure → Upload Servlet Request
- Export the file by clicking on the action button(three dots)
- Open the exported file and set maxSize, maxTries as per your requirement.
- Place the updated file in $[Liferay-Home]/osgi/configs
- Clean & restart the server
Did this article resolve your issue ?