Increasing the Maximum Post Size

Increase the size of an HTTP request to handle larger data change notifications.

The default size of an HTTP request is 10 MB. The default size is set in the jetty-web.xml file.

  1. Stop all SAP Mobile Platform services.
  2. Open the jetty-web.xml file, which is located in SMP_HOME\Servers\UnwiredServer\deploy\webapps\dcn\WEB-INF\.
  3. Find the property, <Set name="maxFormContentSize" type="int">10000000</Set> and increase the value up to 100MB, for example: <Set name="maxFormContentSize" type="int">100000000</Set>.
  4. Save the file.
  5. Restart SAP Mobile Platform services.