Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

Attributes

The following table describes attributes for the server element.

Table 3–17 server Attributes

Attribute  

Default  

Description  

user

admin

(optional) The username used when logging into the application server administration instance. 

password

none 

(optional) Deprecated, use passwordfile instead. The password used when logging into the application server administration instance.

passwordfile

none 

(optional) File containing passwords. The password from this file is retrieved for communication with the application server administration instance. If both password and passwordfile are specified, passwordfile takes precedence.

host

localhost

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

port

4849

(optional) The administration port on the target server. 

instance

name of default instance 

(optional) Target application server instance. 

domain

 

(applies to sun-appserv-update only) The domain in which the application has been previously deployed.

instanceport

none 

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

nodeagent

none 

(applies to sun-appserv-instance only, required if action is create, otherwise ignored) The name of the node agent on which the instance is being created.

debug

false

(applies to sun-appserv-instance 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 sun-appserv-deploy 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 sun-appserv-deploy 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.