Sun Java Enterprise System 2005Q4 Installation Guide for UNIX

Starting and Stopping Application Server

Application Server is configured as a domain. The installer creates the default administrative domain with the default port number 4849. The Admin Server instance name is “server.” To use Application Server, start the domain and access the graphical Admin console. More information can be found in the Chapter 2, Getting Started, in Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide.

Note –

Starting Application Server also starts Message Queue.

ProcedureTo Start the Application Server Domain

  1. On the command line, change to ApplicationServer-base/bin and enter:

    % asadmin start-domain --user admin-id --passwordfile \
    path_to_admin-password_file domainname

    Enter the values that you provided during installation. A message is displayed telling you that the server is starting:

    Starting Domain domain1, please wait. Log redirected to install_dir...

    When the startup process has completed, an additional message is displayed:

    Domain domain1 started
  2. Verify that the Application Server processes are running. For example, on Solaris OS:

    /usr/bin/ps -ef | grep appserv

    /opt/SUNWappserver/appserver/lib/appservDAS domain1

ProcedureTo Access the Admin Console


    To access the Admin Console, use the following URL format in your browser: https://localhost:port

    If the browser is running on the host on which the Application Server was installed, specify localhost for the host name. Replace localhost with the name of the system that the Application Server software is running on if the browser is on another system. Replace the port variable with the Admin port number assigned during installation. The default port number assigned during installation is 4849. For example:

    You should see the Admin Console Login screen.

    Note –

    More information on installing the Application Server, the Domain Administration Server, and its various port numbers and concepts can be found in the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Installation Guide.

ProcedureTo Stop Application Server

  1. On the command line, change to ApplicationServer-base/bin.

  2. Enter the following command to stop the Application Server instances.

    ./asadmin stop-domain --domain domain1
  3. Verify that Application Server is no longer running. For example:

    /usr/bin/ps -ef | grep appservd