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:
- Ensure that you are logged into the machine with superuser (root) privileges.
- Start the WebSphere administrative server by executing the startupServer script, as follows:
# cd /usr/WebSphere/AppServer/bin
# ./startupServer.sh
Ensure that the administrative server has started successfully by checking the file named tracefile located in the
/usr/WebSphere/AppServer/logs directory. The message Server open for e-business appears in this file
when the server has started successfully.
- Start the administrative console by running the adminclient script, as follows:
# cd /usr/WebSphere/AppServer/bin
# ./adminclient.sh
- When the console displays the message
Console Ready , administer the application server
by performing the following steps:
- When the administrative console opens, a tree view is displayed. Click the plus sign (+) next
to WebSphere Administrative Domain entry to expand the view.
- Expand the view of the Nodes entry.
- Identify the name of your host machine and expand the view of that entry.
- Expand the view of the Application Servers entry.
- 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.
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.
Ensure that the Web server is running. If the Web server is not running, start it.
Start a browser and enter the URL for the snoop servlet,
which is a sample servlet that is installed by default, as follows:
http://machine_name/servlet/snoop
Information about /servlet/snoop is displayed.
Proceed to the article Testing with an enterprise bean.
|
|