E

                                                                                                                                                                                                                                                                                                                                      Back to [Book]     [Topic]

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

variable

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.

Labels

configurationfile configurationfile Delete
+configguide +configguide Delete
java java Delete
server server Delete
configuration configuration Delete
administrator's administrator's Delete
webserver webserver Delete
sun sun Delete
application application Delete
system system Delete
webserver70 webserver70 Delete
sunjava sunjava Delete
web web Delete
webtier webtier Delete
file file Delete
guide guide Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact