To start the Domain Administration Server, start the default domain, domain 1, using the following procedures.
Because this guide instructs you to set an environment variable AS_ADMIN_USER for administrative user name, it does not instruct you to supply a user name argument when the asadmin command is used. Without the environment variable, you supply this argument when you type the command. The general syntax is:
asadmin command_verb --user username command_arguments
For example, if your user name is admin, the syntax for asadmin start-domain is: asadmin start-domain --user admin domain1
Add the install-dir/bin/ directory to the PATH environment variable.
Set the AS_ADMIN_USER environment variable so that you do not need to type it for every command.
Set the value of AS_ADMIN_USER to the admin user you specified when you installed the Application Server. For example, setenv AS_ADMIN_USER admin
Start the server by entering this command from the install-dir:
asadmin start-domain domain1
When you are prompted for the admin password and the master password, enter the passwords that you provided during installation.
A message appears telling you that the Domain Administration Server is starting:
Starting Domain domain1, please wait. Log redirected to domain_dir/domain1/logs/server.log...
When the startup process has completed, an additional message appears:
Domain domain1 started
From the Explorer window or desktop, right click My Computer.
Choose Properties to display the System Properties dialog.
Click the Advanced tab.
Click Environment Variables.
In the User variables section:
Add a new environment variable AS_ADMIN_USER and set it to the Administrative User Name that you assigned during installation.
Click OK to commit the change and close the remaining open windows.
Start the Application Server
When a command prompt window opens to prompt you for the admin password and the master password, enter the passwords that you provided during installation.
A window appears with a message telling that you the server is starting:
Starting Domain domain1, please wait. Log redirected to domain_dir\domain1\logs\server.log...
When the startup process has completed, you see an additional message:
Domain domain1 started.Press any key to continue ...
Press a key to close the message window.