Defines a server. This is the root element. There can only be one server element in a server.xml file.
The following table describes subelements for the SERVER element.
Table 2–2 SERVER Subelements
Element |
Required |
Description |
---|---|---|
zero or one |
Defines variables that can be given values in server.xml and referenced in obj.conf |
|
zero or more |
Specifies a property of the serve. |
|
one or more |
Defines one or more HTTP listen sockets |
|
zero or more |
Defines the mime type |
|
zero or more |
References one or more ACL files |
|
one or more |
Defines a virtual server class |
|
zero or one |
Defines quality of service parameters |
|
zero or one |
Configures JavaTM Virtual Machine (JVM) parameters |
|
zero or one |
Configures the system logging service |
The following table describes attributes for the SERVER element.
Table 2–3 SERVER Attributes
Attribute |
Default |
Description |
---|---|---|
no |
Enables quality of service features, which let you set limits on server entities or view server statistics for bandwidth and connections. Allowed values are yes, no, on, off, true, false, 1 or 0. |
|
30 |
(optional) The interval in seconds during which the traffic is measured. |
|
100 |
(optional) The period in milliseconds in which the bandwidth gets recomputed for all server entities. |