How to increase the HTTP POST size in MDM
By default, the maximum size of XML content allowed to be posted to the MDM server is
2 MB. Specifically, in a Job, the XML content refers to a single XML record multiplied by the
batch size.
To allow posting a large amount of data to the MDM server, you need to increase the HTTP POST size by setting the parameter maxPostSize.
Environment
Talend MDM 5.X and above
Increasing the HTTP POST sizeFor a 5.X MDM server, do the following:
- Open the file <MDM_HOME>\jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\server.xml .
- Add the parameter maxPostSize . For example,
<Connector port="8080" address="${jboss.bind.address}" maxThreads="250" maxHttpHeaderSize="8192" emptySessionPath="true" protocol="HTTP/1.1" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" maxPostSize="8000000"/>
- Restart the MDM server for the configuration to take effect.
For a 6.X MDM server, do the following:
- Open the file <MDM_HOME>\apache-tomcat\conf\server.xml .
- Add the parameter maxPostSize . For example,
<Connector port="8180" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8543" maxPostSize="8000000"/>
- Restart the MDM server for the configuration to take effect.