1. Export your WebCenter Spaces metadata file using the following command(s)
cd <WC HOME>\common\bin\
wlst.bat
2. Wait for the script to finish initializing, then type
connect('weblogic', 'welcome1', 't3://<host>:7001')
3. Replace the values in quotes with yours of course, then
exportMetadata(application='webcenter', server='WC_Spaces', toLocation='c:/', docs='/oracle/webcenter/webcenterapp/metadata/webcenter-config.xml')
4. Then navigate to c:/oracle/webcenter/webcenterapp/metadata and edit the webcenter-config.xml file. Change the <webcenter:uploadedFileMaxDiskSpace> value, the default is 2097152 which is around 2 MB, so change it to 2147483648 (2 GB).
5. Then import the modified file back, if you have closed the wlst session, repeat step 1 and 2 then type
importMetadata(application='webcenter',server='WC_Spaces',fromLocation='c:/',docs='/oracle/webcenter/webcenterapp/metadata/webcenter-config.xml')
6. Exit wlst
exit()
7. Restart the WC_Spaces managed server
No comments:
Post a Comment