 |
|
|
NAME
| | asadmin-list-domains, list-domains - lists all the domains |
SYNOPSIS
| | list-domains [--user admin_user] [--password admin_password] [--host localhost] [--port 4848] [--local=false] [--passwordfile filename] [--secure | -s] |
| |
Use the list-domains command to list all the domains associated with the Sun ONE Application Server.
The list-domains command can be run both locally and remotely. Set the --local option to true to execute locally. If running remotely, the administrative server must be running on the hostname specified.
One or more domain must already exist.
|
| |
- --user
- administrative user associated for the instance.
- --password
- administrative password corresponding to the administrative user.
- --host
- host name of the machine hosting the administrative instance.
- --port
- administrative port number associated with the administrative host.
- --local
- determines if the command should delegate the request to administrative instance or run locally.
- --passwordfile
- file containing passwords appropriate for the command (e.g., administrative instance).
- --secure
- if true, uses SSL/TLS to communicate with the administrative instance.
|
| | Example 1. Using list-domains in local mode
| |
| |
asadmin> list-domains
domain1 [/software/AS7SE/sep9/domains/domain1]
domain2 [/u/mydomain/domain_root/domain2]
|
Where: the domain1 and domain2 are listed and their directory paths are identified.
|
|
| |
- 0
- command executed successfully
- 1
- error in executing the command
|
| Sun ONE Application Server | Go To Top | Last Changed 9 Sep 2002 |
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|