Sun GlassFish Enterprise Server v3 Prelude Administration Reference

C

config

Defines a configuration, which is a collection of settings that controls how a server instance functions.

Superelements

configs

Subelements

The following table describes subelements for the config element.

Table 1–13 config Subelements

Element 

Required 

Description 

iiop-service

only one 

Configures the IIOP service. 

admin-service

only one 

Determines whether the server to which the configuration applies is an administration server. 

web-container

only one 

Configures the web container. 

ejb-container

only one 

Configures the Enterprise JavaBeansTM (EJBTM) container.

mdb-container

only one 

Configures the message-driven bean (MDB) container. 

jms-service

zero or one 

Configures the Java Message Service (JMS) provider. 

log-service

only one 

Configures the system logging service. 

security-service

only one 

Configures the Java EE security service. 

transaction-service

only one 

Configures the transaction service. 

monitoring-service

only one 

Configures the monitoring service. 

java-config

only one 

Configures the Virtual Machine for the Java platform (JVMTM software).

thread-pools

only one 

Configures thread pools. 

system-property

zero or more 

Specifies a system property. 

property

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the config element.

Table 1–14 config Attributes

Attribute 

Default 

Description 

name

server-config

Specifies the name of the configuration. 

dynamic-reconfiguration-enabled

true

(optional) If true, any changes to the system (for example, applications deployed, resources created) are automatically applied to the affected servers without a restart being required. If false, such changes are only picked up by the affected servers when each server restarts.

configs

Contains configurations.

Superelements

domain

Subelements

The following table describes subelements for the configs element.

Table 1–15 configs Subelements

Element 

Required 

Description 

config

only one 

Defines a configuration. 

connection-pool

Defines a pool of client HTTP connections used by the http-listener subelements of the parent http-service element.

Superelements

http-service

Subelements

none

Attributes

The following table describes attributes for the connection-pool element.

Table 1–16 connection-pool Attributes

Attribute 

Default 

Description 

queue-size-in-bytes

4096

(optional) Specifies the maximum number of messages that can be queued until threads are available to process them for http-listener elements. A value of -1 specifies no limit.

max-pending-count

4096

(optional) Specifies the maximum number of pending connections on an http-listener.

receive-buffer-size-in-bytes

4096

(optional) Specifies the size of the receive buffer for all http-listener elements.

send-buffer-size-in-bytes

8192

(optional) Specifies the size of the send buffer for all http-listener elements.