Issue
-
If you specify a lar file larger than 100MB in size for import, an error will occur.
Environment
-
Liferay Portal 6.2, Liferay DXP 7.0, Liferay DXP 7.1, Liferay DXP 7.2, Liferay DXP 7.3
Resolution
Adjust the value in portal-ext.properties or in the relevant section from the control panel.
The adjustment method differs between DXP7.1 and earlier versions.
In DXP 7.1 and later, settings can be adjusted only on the control panel.
For versions older than DXP7.1 (7.0, 6.2, etc.)
Settings from portal-ext.properties:
Adjust values for the following propertiescom.liferay.portal.upload.UploadServletRequestImpl.max.size
Settings from the control panel:
Adjust the values from the following page.
Control Panel > Settings Server Management > File Upload > Common > Total Maximum Upload Request Size
Note:If you change the settings from the control panel, the settings on the control panel side take precedence.
For DXP7.1 or later:
Adjust the values from the following page.
Control Panel > Settings > System Settings > Platform > Infrastructure > Upload Servlet Request:Total Maximum Upload Request Size