How to increase WCM feed import file size settings
Applies to
HCL Digital Experience v9.5 and higher
Introduction
When importing feeds using the default configuration of Web Content Manager (WCM) in HCL Digital Experience (DX), files larger than 10 MB cause the following error:
[date×tamp] 00000253 HTTPFileRetri E The content-length reported by the web server: 19,221,288 exceeds the maximum allowable file size: 10,485,760
[date×tamp] 00000253 FileComponent E The binary file myDocument.pdf is either too large or could not be retrieved.
This article explains how to configure the WCM feed import size settings for larger files.
Instructions
To increase WCM feed import file size settings, perform the following steps:
-
Locate the
WCMConsumerPlugin.propertiesfile in one of the following directories:<wp_profile_root>\PortalServer\wcm\shared\app\config\WCMConsumerPlugin.properties <wp_profile_root>\installedApps\<cellname>\wci.ear\config\plugins\WCMConsumerPlugin.properties <PortalServer_root>\wcm\prereq.wcm\wcm\config\templates\shared\app\config\WCMConsumerPlugin.properties -
Open
WCMConsumerPlugin.propertiesand update themax.filesize.mbproperty to the required maximum file size in megabytes (for example,max.filesize.mb=20).Note
Ensure that
max.filesize.mbis set equal to or less than thejdbc.resources.maxSizesetting inaptrixjpe.properties. -
Save the file.
- Restart your DX environment to apply the changes.
For more information about additional WCM file size parameters, refer to Importing large files and images.