Sun GlassFish Enterprise Server v3 Application Development Guide

Attributes of server

The following table describes attributes for the server element.

Table 3–15 The server Attributes

Attribute 

Default 

Description 

user

admin

(optional) The user name used when logging into the Enterprise Server domain administration server (DAS). 

passwordfile

none 

(optional) File containing passwords. The password from this file is retrieved for communication with the Enterprise Server DAS. 

host

localhost

(optional) Target server. When targeting a remote server, use the fully qualified host name. 

port

4848

(optional) The administration port on the target server. 

instance

name of default instance 

(optional) Target application server instance. 

instanceport

none 

(applies to The sun-appserv-instance Task only) Deprecated.

debug

false

(applies to The sun-appserv-instance Task only, optional) Deprecated. If action is set to start, specifies whether the server starts in debug mode. This attribute is ignored for other values of action. If true, the instance generates additional debugging output throughout its lifetime.

upload

true

(applies to The sun-appserv-deploy Task only, optional) If true, the component is transferred to the server for deployment. If the component is being deployed on the local machine, set upload to false to reduce deployment time.

virtualservers

default virtual server only 

(applies to The sun-appserv-deploy Task only, optional) A comma-separated list of virtual servers to be deployment targets. This attribute applies only to application (.ear) or web (.war) components and is ignored for other component types.