Previous Topic: Keep Alive and Connection Pooling

Next Topic: HTTP Header for SiteMinder Processing with SPS

HTTP Header Configuration for Sun Java Web Servers

By default, some web servers, such as Sun Java Web servers limit the number of header variables that can accompany a request. You might have to increase this upper limit to accommodate transactions that contain many custom headers.

The server typically returns 413 Request Entity Too Large error is # of headers is greater than allowable maximum. For more information refer to your destination server's administration guide.

To change the maximum number of headers

  1. Locate the magnus.conf file for the back-end Sun Java Web server and open it in a text editor.
  2. Add or modify the following entry in magnus.conf :

    MaxRqHeaders 50

    Be sure to set the maximum value at a level above the number of headers created by your SPS transactions.

  3. Restart the Sun Java Web server so that the changes will take affect.