How to increase the HTTP POST size in MDM

author
Talend Documentation Team
EnrichVersion
6.4
6.3
6.2
6.1
EnrichProdName
Talend Data Fabric
Talend MDM Platform
task
Administration and Monitoring
EnrichPlatform
Talend MDM Server

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 size

For a 5.X MDM server, do the following:

  1. Open the file <MDM_HOME>\jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\server.xml .
  2. 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"/>
  3. Restart the MDM server for the configuration to take effect.

For a 6.X MDM server, do the following:

  1. Open the file <MDM_HOME>\apache-tomcat\conf\server.xml .
  2. Add the parameter maxPostSize . For example,
    <Connector port="8180" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8543" maxPostSize="8000000"/>
  3. Restart the MDM server for the configuration to take effect.