uCosminexus Application Server, Web Container Functionality Guide
To specify the settings for limiting the request data size, you must set up a J2EE server.
This subsection describes the settings and examples for limiting the request data size:
Implement the J2EE server settings in the Easy Setup definition file. Specify the definition for limiting the request data size in the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file.
The following table lists the definitions in the Easy Setup definition file for limiting the request data size:
Table 5-18 Definitions in the Easy Setup definition file for limiting the request data size
Parameter to be specified | Setting contents |
---|---|
webserver.connector.inprocess_http.limit.max_request_line | Specifies the upper limit of the request line. |
webserver.connector.inprocess_http.limit.max_headers | Specifies the upper limit for the number of HTTP headers included in the HTTP request. |
webserver.connector.inprocess_http.limit.max_request_header | Specifies the upper limit for the request header size of the HTTP request. |
webserver.connector.inprocess_http.limit.max_request_body | Specifies the upper limit for the body size of the HTTP request. |
For details on the Easy Setup definition file and the parameters to be specified, see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.
An example of settings for limiting the request data size is as follows:
... <param> |
<param-name>webserver.connector.inprocess_http.limit.max_request_line</param-name> <param-value>1024</param-value> </param> <param> |
<param-name>webserver.connector.inprocess_http.limit.max_headers</param-name> <param-value>100</param-value> </param> <param> |
<param-name>webserver.connector.inprocess_http.limit.max_request_header</param-name> <param-value>8192</param-value> </param> <param> |
<param-name>webserver.connector.inprocess_http.limit.max_request_body</param-name> <param-value>16384</param-value> </param> ... |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.