Testing the installation

This article describes how to test the installation and configuration of your WebSphere Application Server system. These instructions assume that you have installed a supported Web server, database, and the WebSphere Application Server component.

Perform the following steps to test your WebSphere installation:

  1. Ensure that you are logged into the machine with superuser (root) privileges.
  2. Start the WebSphere administrative server by executing the startupServer script, as follows:
    # cd /opt/WebSphere/AppServer/bin
    # ./startupServer.sh

    Ensure that the administrative server has started successfully by checking the file named tracefile located in the /opt/WebSphere/AppServer/logs directory. The message Server open for e-business appears in this file when the server has started successfully.

  3. Start the administrative console by running the adminclient script, as follows:
    # cd /opt/WebSphere/AppServer/bin
    # ./adminclient.sh
  4. When the console displays the message Console Ready, administer the application server by performing the following steps:
    1. When the console opens, a tree view is displayed. Click the plus sign (+) next to WebSphere Administrative Domain entry to expand the view.
    2. Expand the view of the Nodes entry.
    3. Identify the name of your host machine and expand the view of that entry.
    4. Expand the view of the Application Servers entry.
    5. Select the Default Server entry and click the Start icon located on the toolbar. An information window opens, and indicates that the server has started. Click OK to close the information window.
    6. After the default server is started initially, it will start automatically if it stops or if you restart the machine. If the administrative server fails, the default server continues to run.

    7. Click OK.
  5. Ensure that the Web server is running. If the Web server is not running, start it.
  6. Start a Web browser and enter the URL for the snoop servlet, which is a standard sample servlet that is installed by default, as follows:
    http://machine_name/servlet/snoop

    In this command, machine_name represents the name of the machine on which WebSphere is running. Information about /servlet/snoop is displayed.