server.xml elements beginning with E
The following elements are discussed below:
env-variable
The env-variable element defines an environment variable. This element may appear zero or one time within the cgi element. For more information, see cgi.
Subelements
The env-variable element can contain the following subelements:
Table 3-18 List of env-variable Subelements
| Element | Occurrences | Description |
|---|---|---|
| name | 1 | The name of the environment variable |
| value | 1 | The value of the environment variable |
| description | 0 or 1 | The description of the environment variable |
See Also
event
The event element configures a recurring event. This element may appear zero or more times within the server element. For more information, see server.
Subelements
The event element can contain the following subelements:
Table 3-19 List of event Subelements
| Element | Occurrences | Description |
|---|---|---|
| enabled | 0 or 1 | Determines whether the event is enabled at runtime. The default value is true. |
| time | 0 or more | Configures a specific time when the event occurs. For more details, see time. |
| interval | 0 or 1 | The interval (in seconds) at which the event occurs. The value can be from 60 to 86400. |
| rotate-log | 0 or 1 | Rotates the log files. The default value is false. |
| rotate-access-log | 0 or 1 | Rotates the access log files. The default value is false. |
| command | 0 or more | The command to execute when the event runs. |
| reconfig | 0 or 1 | Dynamically reconfigures the server. The default value is false. |
| restart | 0 or 1 | Restarts the server. The default value is false. |
| description | 0 or 1 | The description of the event. The value of this element is in text format. |
See Also
external-jndi-resource
The external-jndi-resource element configures a resource provided by an external JNDI repository. This element may appear zero or more times within the server element. For more information, see server.
Subelements
The external-jndi-resource element can contain the following subelements:
Table 3-20 List of external-jndi-resource Subelements
| Element | Occurrences | Description |
|---|---|---|
| enabled | 0 or 1 | Determines whether the event is enabled at runtime. The default value is true. |
| jndi-name | 1 | The JNDI name of the resource. |
| jndi-lookup-name | 1 | The JNDI lookup name of the resource. |
| res-type | 1 | The type of the external JNDI resource. The default value is a class name. |
| factory-class | 1 | The class that instantiates resources of this type. The default value is a class name that implements javax.naming.spi.InitialContextFactory. |
| property | 0 or more | Configures the optional resource-specific properties. For more details, see property. |
| description | 0 or 1 | The description of the resource. The value of this element should be in text format. |