Starting and Stopping the Application Server
asadmin start-domain --verbose domain1
The Application Server’s port number. The default is 8080.
The administration server’s port number. The default is 4848.
An administration user name and password.
You specify these values when you install the Application Server. The examples in this tutorial assume that you chose the default ports.
With no arguments, the start-domain command initiates the default domain, which is domain1. The --verbose flag causes all logging and debugging output to appear on the terminal window or command prompt (it will also go into the server log, which is located in domain-dir/logs/server.log).
Or, on Windows, you can choose:
Programs → Sun Microsystems → Application Server PE 9 → Start Default Server
After the server has completed its startup sequence, you will see the following output:
Domain domain1 started.
asadmin stop-domain domain1
Or, on Windows, choose:
Programs → Sun Microsystems → Application Server PE 9 → Stop Default Server
When the server has stopped you will see the following output:
Domain domain1 stopped.