Sun Java Communications Suite 5 Installation Guide

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. More information can be found in the Chapter 1, Getting Started, in Sun Java System Application Server Enterprise Edition 8.2 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
  2. 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
  3. Start individual Application Server instances. For example:

    ./asadmin start-domain --domain domain1 --user

    Note –

    If you receive a message indicating failure to start, configuration changes might not be applied yet. In this case, run the asadmin reconfig command. For example:

    asadmin reconfig --user admin --password adminadmin --host localhost --port 4849 server

  4. 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 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 appserv