Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: Subelements
- Next: Examples

### Attributes

The following table describes attributes for the `sun-appserv-component` task.

Table 3–10 `sun-appserv-component` Attributes

Attribute | Default | Description
--- | --- | ---
`action` | none | The control command for the target application server. Valid values are `enable` and `disable`.
`name` | file name without extension | (optional if a `component` or `fileset` subelement is present or the `file` attribute is specified, otherwise required) The display name for the component being enabled or disabled.
`file` | none | (optional) The component to enable or disable. If this attribute refers to a file, it must be a valid archive. If this attribute refers to a directory, it must contain a valid archive in which all components have been exploded.
`type` | determined by extension | (optional) Deprecated.
`user` | `admin` | (optional) The user name used when logging into the application server.
`password` | none | (optional) Deprecated, use `passwordfile` instead. The password used when logging into the application server.
`passwordfile` | none | (optional) File containing passwords. The password from this file is retrieved for communication with the application server. If both `password` and `passwordfile` are specified, `passwordfile` takes precedence.
`host` | `localhost` | (optional) Target server. When enabling or disabling a remote server, use the fully qualified host name.
`port` | `4848` | (optional) The administration port on the target server.
`asinstalldir` | see description | (optional) The installation directory for the local Application Server installation, which is used to find the administrative classes. If not specified, the command checks to see if the `asinstalldir` parameter has been set. Otherwise, administrative classes must be in the system classpath.
`sunonehome` | see description | (optional) Deprecated. Use `asinstalldir` instead.

- Previous: Subelements
- Next: Examples

- © 2010, Oracle Corporation and/or its affiliates