To start the Enterprise Server, open a terminal window or command prompt and execute the following:
asadmin start-domain --verbose |
A domain is a set of one or more Enterprise Server instances managed by one administration server. Associated with a domain are the following:
The Enterprise 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 Enterprise 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, choose the following:
Start -> All Programs -> Java EE 6 SDK -> Start Application Server
After the server has completed its startup sequence, you will see the following output:
Domain domain1 started. |
To stop the Enterprise Server, open a terminal window or command prompt and execute:
asadmin stop-domain domain1 |
Or, on Windows, choose the following:
Start -> All Programs -> Java EE 6 SDK -> Stop Application Server
When the server has stopped you will see the following output:
Domain domain1 stopped. |