Sun Java System Application Server Platform Edition 9 Quick Start Guide

ProcedureTo Start the Application Server on Linux and Solaris

You may have already started the server when you installed, using the Start Server button on the last installation screen. However, if your server is not running, start it using the steps below.

You start the server by starting the domain. A domain provides authentication and administration for the server instance that belongs to it. Starting the domain starts the server instance in the domain. A default domain called domain1 is created when you install Application Server.


Note –

If you are using the Application Server that comes bundled with the Solaris operating system, no default domain is created. Instead, you must create one using asadmin create-domain. See the documentation for create-domain(1) for more information.



Note –

If you are using the Ubuntu Linux version of the server, a default domain is created in /var/lib/sunappserver/domains. You can administer this domain using the install-dir/bin/asadmin command. If you do not have root access or you want to have domains running in your home directory, you can use the asadmin convenience wrapper script located in /usr/bin to create a domain in your home directory. Running asadmin start-domain from the convenience script creates and starts the domain. For more information on the convenience script, type asadmin man at the command prompt.

If you have root access, you can also create and start domains using the asadmin commands create-domain and start-domain from the install-dir/bin directory. These domains are created by default in /var/lib/sunappserver/domains. For more information on create-domain and start-domain, see the asadmin help.


  1. Add the install-dir/bin/ directory to the PATH environment variable.

  2. Start the server by entering this command: asadmin start-domain domain1.

    When the server has started, a message appears stating that the server has been started and is ready to receive requests. The output also includes information on ports used by the Application Server.