uCosminexus Application Server, Web Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

5.16.2 Execution environment settings (J2EE server settings)

To specify settings for reporting the gateway information to the Web Container, you must set up a J2EE server.

This subsection describes the settings and examples for reporting the gateway information to the Web container.

Organization of this subsection
(1) How to set
(2) Example settings

(1) How to set

Implement the J2EE server settings in the Easy Setup definition file. Define the settings for reporting the gateway information to the Web container 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 reporting the gateway information to the Web container:

Table 5-24 Definitions in the Easy Setup definition file for reporting the gateway information to the Web container

Parameter to be specified Setting contents
webserver.connector.inprocess_http.gateway.https_scheme Specifies the scheme of the redirection destination URL.
webserver.connector.inprocess_http.gateway.host Specifies the gateway host name.
webserver.connector.inprocess_http.gateway.port Specifies the gateway port number.

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.

(2) Example settings

An example of settings for the gateway specification functionality is as follows:

 
...
<param>
 <param-name>webserver.connector.inprocess_http.gateway.host</param-name>
 <param-value>host1</param-value>
</param>
<param>
 <param-name>webserver.connector.inprocess_http.gateway.port</param-name>
 <param-value>4443</param-value>
</param>
<param>
 
<param-name>webserver.connector.inprocess_http.gateway.https_scheme</param-name>
 <param-value>true</param-value>
</param>
...
 

In this example, the gateway specification functionality is used to specify settings so that the scheme is always considered to be HTTPS.