Those are the steps to change the default "max-filesize" to 2Gb
- Locate your WebCenter wlst.sh or wlst.cmd and execute it.
- Connect to admin server with this command:
connect('weblogic','<weblogic-password>','t3://<ip-admin-server>:7001')
- Now export the metadata that defines the "uploadedFileMaxDiskSpace" parameter.
exportMetadata(application='webcenter',server='WC_Spaces',toLocation='/home/oracle',docs='/oracle/webcenter/webcenterapp/metadata/webcenter-config.xml')
- Modify the file "webcenter-config.xml" and locate the line with this parameter.
<webcenter:uploadedFileMaxDiskSpace>2097152</webcenter:uploadedFileMaxDiskSpace>
- Save the file and proceed to the upload, reconnect to wlst.sh
- Connect again to admin server
connect('weblogic','<weblogic-password>','t3://<ip-admin-server>:7001')
- Execute the upload command:
importMetadata(application='webcenter',server='WC_Spaces',fromLocation='/home/oracle',docs='/oracle/webcenter/webcenterapp/metadata/webcenter-config.xml')
- Restart WC_Spaces managed node and is ready to test.