Sun GlassFish Enterprise Server v3 Prelude Administration Reference

Attributes

The following table describes attributes for the application element.

Table 1–5 application Attributes

Attribute 

Default 

Description 

name

none 

The name of the application. 

description

none 

(optional) Specifies a text description of this element. 

location

none 

The location of the application in the Enterprise Server file system. If a relative path is specified, it is relative to the domain-dir/applications/ directory.


Note –

Deployment directories may change between Enterprise Server releases.


object-type

system-admin

(optional) Defines the type of the resource. Allowed values are: 

  • system-all - A system resource for all server instances and the domain application server.

  • system-admin - A system resource only for the domain application server.

  • system-instance - A system resource for all server instances only.

  • user - A user resource.

enabled

true

(optional) Determines whether the application is enabled. 

context-root

none 

The context root at which the application is deployed. The context root can be the empty string or just /. The context root can start with the / character, but doesn’t have to.

directory-deployed

false

(optional) Specifies whether the application has been deployed as a directory.