Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandsasadmin-list-domains(1AS)


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]

DESCRIPTION

 

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.


OPTIONS

 
--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.

EXAMPLES

 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.


EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

asadmin-create-domain(1AS), asadmin-delete-domain(1AS), asadmin-start-domain(1AS), asadmin-stop-domain(1AS), asadmin-list-instances(1AS), asadmin-multimode(1AS)



Sun ONE Application ServerGo To TopLast Changed 9 Sep 2002


Updated: 2003-06-13, 20:30