uCosminexus Application Server, Web Container Functionality Guide

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

2.21.3 Execution environment settings

To define the static contents cache for each Web container, you must set up the J2EE server.

To define the static contents cache for each Web application, you must set up the Web applications. Reference these settings only when you want to set or change the properties of Web applications that do not contain cosminexus.xml.

Hint
Whether you specify settings in the Web container or in the Web application, the settings in the Web application are given priority.
Organization of this subsection
(1) J2EE server settings (settings for each Web container)
(2) Web application settings (Settings for each Web application)

(1) J2EE server settings (settings for each Web container)

Implement the J2EE server settings in the Easy Setup definition file. Specify the definition of the static contents cache for 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 of static contents cache in the Easy Setup definition file:

Table 2-65 Definitions of the static contents cache in the Easy Setup definition file

Items Parameter to be specified Setting contents
Enabling and disabling of the static contents cache functionality webserver.static_content.cache.enabled Specifies the enabling, disabling, or forced disabling of the static contents cache.
Memory size in each Web application webserver.static_content.cache.size Specifies the memory size in each Web application for which static contents cache is permitted.
File size permitting cache webserver.static_content.cache.filesize.threshold Specifies the upper limit for the file size in the Web application for which static contents cache is permitted.

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) Web application settings (Settings for each Web application)

Implement the Web application settings in the execution environment by using the server management commands and property files. Use the WAR property file to define the static contents cache.

The tags specified in the WAR property file correspond to the DD. For details on definitions in the DD, see 2.21.2 Definition in the DD (Settings for each Web application).