Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

Starting the Domain

When starting a domain, the administration server and application server instance are started. Once the application server instance is started it runs constantly, listening for and accepting requests. Each domain must be started separately.

To start a domain, type the asadmin start-domain command and specify the domain name. For example, to start the default domain (domain1), type the following:


$ asadmin start-domain --user admin domain1

If there is only one domain, omit the domain name. For the full command syntax, type asadmin help start-domain. If the password data is omitted, you are prompted to supply it.

The asadmin start-domain domain1 command should be run by the user who installed the server. If it is not run by that user, the .asadmintruststore should be moved or copied from the home directory of installing user to the home directory of the running user.

Note that if the file is moved (not copied) from the installing user's home directory to the running user's home directory, you might experience application upgrade problems, because the upgrade/install user will no longer have the .asadmintruststore file in the home directory.

Restoring a Deleted .asadmintruststore File

If the .asadmintruststore file for a domain has been deleted, you can easily create a new file

ProcedureTo create a new .asadmintruststore file

  1. Use the local asadmin start-domain command to start a domain you want to manage.

    Note that a local asadmin command does not require an .asadmintruststore file to start the domain.

  2. Run any remote asadmin command.

    Remote asadmin commands require the --user, --passwordfile (--password), --host, and --port options to be specified, and a target domain to be running.

  3. Accept the new Domain Certificate by pressing “y” when prompted.

On Windows, to start the default domain:

From the Windows Start Menu, select Programs -> Sun Microsystems -> Application Server -> Start Admin Server.