General elements are as follows:
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.  | 
Specifies a property, or a variable that is defined in server.xml and referenced in obj.conf. For information about variables, see Variables.
For a list of variables commonly defined in server.xml, see "Variables Used in the Interface."
A property adds configuration information to its parent element that is one or both of the following:
Optional with respect to Sun Java System Web Server
Needed by a system or object that Sun Java System Web Server does not have knowledge of, such as an LDAP server or a Java class
For example, an AUTHREALM element can include PROPERTY subelements:
<AUTHREALM name="file"
classname="com.iplanet.ias.security.auth.realm.file.FileRealm">
<PROPERTY name="file" value="instance_dir/config/keyfile>
<PROPERTY name="jaas-context" value="fileRealm">
</AUTHREALM>
The properties that an AUTHREALM element uses depends on the value of the AUTHREALM element's name attribute. The file realm uses file and jaas-context properties. Other realms use different properties.
The following table describes subelements for the PROPERTY element.
Table 2–4 PROPERTY Subelements| 
 Element  | 
 Required  | 
 Description  | 
|---|---|---|
| 
 zero or one  | 
 Contains a text description of the property.  | 
The following table describes attributes for the PROPERTY element.
Table 2–5 PROPERTY Attributes| 
 Attribute  | 
 Default  | 
 Description  | 
|---|---|---|
| 
 name  | 
 none  | 
 Specifies the name of the property or variable.  | 
| 
 value  | 
 none  | 
 Specifies the value of the property or variable.  | 
Contains a text description of the parent element.
None
None
Defines variables that can be given values in server.xml and referenced in obj.conf. For more information, see Variables.
none
none