Starting and Stopping the Application Server
To start the Application Server, open a terminal window or command prompt and execute the following:
asadmin start-domain --verbose domain1
A domain is a set of one or more Application Server instances managed by one administration server. Associated with a domain are the following:
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.
To stop the Application Server, open a terminal window or command prompt and execute:
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.