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
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 server by executing the startServer script, as follows:
# cd /usr/WebSphere/AppServer/bin
# ./startServer.sh
Ensure that the server has started successfully by checking the file named Default_Server_stdout.log 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 a Web browser and enter the following URL:
http://machine_name:9090/admin
In this command, machine_name represents the name of the machine on which WebSphere is running.
- The Login dialog opens, and prompts you to enter a user ID to which your configuraton changes
will be saved. Enter a user ID and click Submit. If you do not care to save changes using your user ID,
click Submit without entering a user ID and your changes will be saved using the default
user ID
User .
If the user ID you have entered is already in use and in session, you are prompted to do one of
the following:
- Force the existing user ID out of session. The configuration file that was
being used by the existing user ID will be saved in a temporary storage area. You will be
prompted to load the saved file; choosing not to do so will delete it from
the temporary storage area.
- Wait for the existing user ID to log out or time out of the session.
- Select a different user ID.
- Administer the application server by performing the following steps:
- When the console opens, a tree view is displayed. Click the plus sign (+) next
to Nodes entry to expand the view.
- Identify the name of your host machine and expand the view of that entry.
- Click the plus sign (+) next to the Application Servers entry to expand the view.
- Select the Default Server entry. If the value of the Execution State field is
STOP , click the dropdown menu and select START .
After the default server is started initially, it will start automatically if it stops or if
you restart the machine.
- Click OK.
Ensure that the Web server is running. If the Web server is not running, start it.
Start a Web 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
In this command, machine_name represents the name of the machine on which WebSphere is running.
Information about /servlet/snoop is displayed.
Ensure that you save any changes you want to keep.
If you do not save the changes, they will be lost when you close the Web browser.
To stop the console, close the Web browser.
Proceed to the article Testing with an enterprise bean.
|
|