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.
administrative user associated for the instance.
administrative password corresponding to the administrative user.
host name of the machine hosting the administrative instance.
administrative port number associated with the administrative host.
determines if the command should delegate the request to administrative instance or run locally.
file containing passwords appropriate for the command (e.g., administrative instance).
if true, uses SSL/TLS to communicate with the administrative instance.
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.