C

                                                                                                                                                                                                                                                                                                                                      Back to [Book]     [Topic]

server.xml elements beginning with C

The following elements are discussed below:

cgi

The cgi element configures the CGI execution subsystem. This element may appear zero or one time within the server element. For more information, see server.

Subelements

The cgi element can contain the following subelements:

Table 3-8 List of cgi Subelements

Element Occurrences Description
timeout 0 or 1 The timeout (in seconds) after which the server will terminate a CGI program. The value can be from 0.001 to 3600, or -1 for no timeout.
idle-timeout 0 or 1 The timeout (in seconds) after which the server will terminate a nonresponsive CGI program. The value can be from 0.001 to 3600.
cgistub-path 0 or 1 The path to the Cgistub binary. If a relative path is used, it is relative to the server's config directory.
cgistub-idle-timeout 0 or 1 The timeout (in seconds) after which an unused Cgistub process will be terminated. The value can be from 0.001 to 3600.
min-cgistubs 0 or 1 The minimum number of Cgistub processes the server keeps on hand, waiting to run the CGI programs. The value can be from 0 to 4096.
max-cgistubs 0 or 1 The maximum number of Cgistub processes the server keeps on hand, waiting to run the CGI programs. The value can be from 1 to 4096.
env-variable 0 or more Configures the CGI program environment variables. For more details, see env-variable.

cluster

The cluster element defines the cluster to which the server belongs. This element may appear zero or one time within the server element. For more information, see server.

Subelements

The cluster element can contain the following subelements:

Table 3-9 List of cluster Subelements

Element Occurrences Description
local-host 1 Defines the network address of an instance. The value is the host value from an instance element. For more details, see instance.
instance 1 or more Defines a member of the server cluster. For more details, see instance.
session-replication 0 or 1 Configures the Servlet session replication for the server cluster. For more details, see session-replication.

connection-creation-property

The connection-creation-property element configures the properties that are set when a JDBC connection (java.sql.Connection) is created. This element may appear zero or more times within the jdbc-resource element. For more information, see jdbc-resource.

Subelements

The connection-creation-property element can contain the following subelements:

Table 3-10 List of connection-creation-property Subelements

Element Occurrences Description
name 1 The name of the property
value 1 The value of the property
description 0 or 1 The description of the property

See Also

connection-lease-property

The connection-lease-property element configures the properties that are set each time a JDBC connection (java.sql.Connection) is leased to an application. This element may appear zero or more times within the jdbc-resource element. For more information, see jdbc-resource.

Subelements

The connection-lease-property element can contain the following subelements:

Table 3-11 List of connection-lease-property Subelements

Element Occurrences Description
name 1 The name of the property
value 1 The value of the property
description 0 or 1 The description of the property

See Also

convert

The convert element determines the type of documents that are converted prior to indexing. This element may appear zero or one time within the search-collection element. Documents with the pdf file extension are always converted to HTML prior to indexing. For more information, see search-collection.

Subelements

The convert element can contain the following subelements:

Table 3-12 List of convert Subelements

Element Occurrences Description
extension 0 or more The file extension of a document type that should be converted to HTML.

See Also

custom-resource

The custom-resource element configures a resource implemented by a custom Java class. This element may appear zero or more times within the server element. For more information, see server.

Subelements

The custom-resource element can contain the following subelements:

Table 3-13 List of custom-resource Subelements

Element Occurrences Description
enabled 0 or 1 Determines whether the custom resource is enabled at runtime. The default value is true.
jndi-name 1 The JNDI name of the custom resource.
res-type 1 The type of custom resource. The value is a class name.
factory-class 1 The class that instantiates a naming context which is used to look up the external resource. The value is a name of a class that implements javax.naming.spi.ObjectFactory.
property 0 or more Configures the optional resource-specific properties. For more details, see property.
description 0 or 1 The description of the custom resource. The value of this element is in text format.

Labels

configurationfile configurationfile Delete
+configguide +configguide Delete
java java Delete
server server Delete
configuration configuration Delete
administrator's administrator's Delete
sun sun Delete
webserver webserver Delete
application application Delete
system system Delete
webtier webtier Delete
webserver70 webserver70 Delete
sunjava sunjava Delete
web web 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