Increasing the Maximum Post Size to Handle Larger Data Change Notifications

You can increase the size of an HTTP request to handle larger data change notifications.

The default size of an HTTP request in the Tomcat version used in Sybase Unwired Platform is 2MB.

To increase the size of an HTTP request in Tomcat:


  1. Open server.bak.xml, which is located in tomcat\conf.
  2. There are several XML elements named "Connector" in this file. In each, add an attribute called maxPostSize with a number for the characters in the request.

    For example: Connector maxPostSize="400000"

    This allows for approximately 4MB of post data to be sent in the HTTP request.

  3. Save the server.bak.xml file.
Note: The file that needs to be changed is server.bak.xml, which is used to generate server.xml at runtime.