Hitachi

uCosminexus Application Server Compatibility Guide


6.14.2 Execution environment settings (J2EE server settings)

To specify settings for customizing the HTTP response header, you must set up the J2EE server.

This section describes the settings and examples for customizing the HTTP response header.

Organization of this subsection

(1) How to set

Specify the settings for customizing the HTTP response header in the following parameter in the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file:

webserver.connector.inprocess_http.response.header.server

Specifies the string that is automatically set up in the Server header of the HTTP response.

For details on the Easy Setup definition file and the parameters to be specified, see 4.3 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.

(2) Example settings

The following is the setting example for customizing the HTTP response header:

...
<param>
  <param-name>webserver.connector.inprocess_http.response.header.server</param-name>
  <param-value>GyoumuServer/1.0</param-value>
</param>
...

In this example, GyoumuServer/1.0 is specified as the Server header value.