Sun GlassFish Enterprise Server v3 Domain File Format Reference

env-entry

Configures an environment entry for a web module at deployment time. This is an alternative to setting an env-entry in the web.xml file. To override an env-entry in the web.xml file, set the ignore-descriptor-item attribute to true.

Superelements

web-module-config

Subelements

The following table describes subelements for the env-entry element.

Table 1–48 env-entry Subelements

Element 

Required 

Description 

env-entry-name

only one 

Contains an environment entry name. 

env-entry-type

only one 

Contains an environment entry type. 

env-entry-value

only one 

Contains an environment entry value. 

description

zero or one 

Contains a text description of this element. 

Attributes

The following table describes attributes for the env-entry element.

Table 1–49 env-entry Attributes

Attribute 

Default 

Description 

ignore-descriptor-item

false

(optional) If true, specifies that if the same environment entry occurs in the deployment descriptor it is ignored.