78 WebSphere V5 for Linux on zSeries - Connectivity Handbook
Figure 4-6 WebSphere Application Server - First Steps
To restart the First Steps interface, you can execute the first steps script:
/opt/WebSphere/AppServer/bin/firststeps.sh&
We are going to perform the steps manually so that we know how to execute
them again later. Exit out of first steps.
4.3.2 Getting started
To get started:
1. Start the application. Back on the Linux shell execute the startServer script to
start the application server. Server1 is the name of the configuration directory
of the server you want to start.
/opt/WebSphere/AppServer/bin/startServer.sh server1
You will see the following messages when the server is started:
Server server1 open for e-busines; process id is 18000
Chapter 4. WebSphere Application Server setup 79
2. Explore the sample applications you just installed. Samples are installed by
default. You can point your browser directly to
http://9.12.9.12:9080/WSamples, as shown in Figure 4-7.
Figure 4-7 Samples
The Samples Gallery includes the following samples:
The Plants by WebSphere application, which demonstrates several J2EE
functions, using an online store that specialized in plant and garden tool
sales.
Technology samples, which showcase enterprise beans, servlets,
JavaServer Pages technology, message-driven beans, and J2EE
application client.
The Java Pet Store Application, which demonstrates J2EE technology
using an online pet store.
The message-driven beans samples demonstrate message-driven beans
receiving messages from the Point-to-Point and Publish Subscribe
messaging models. It also demonstrates Java Message Service (JMS)
inside the client container.
3. Launch the Administrative Console.
80 WebSphere V5 for Linux on zSeries - Connectivity Handbook
The Administrative Console is a confirmation editor that runs in a Web
browser. It lets you work with application server configuration files encoded in
XML. Changes made using the Administrative Console take effect the next
time you start the application server. Point your browser to:
http://linux11.itso.ibm.com:9090/admin
A login window pops up. Enter a user and click OK. We used the user
ITSOUser. You will now see the WebSphere Application Server’s
Administration Console, as shown in figure Figure 4-8 on page 80.
Figure 4-8 WebSphere Application Server’s Administration Console
4. Start the IBM HTTP server:
/opt/IBMHttpServer/bin/apachectl start
5. Test the HTTP server as shown in Figure 4-9. Point your browser to
http://linux11.itso.ibm.com. You will see the welcome page from the
HTTP server.
Chapter 4. WebSphere Application Server setup 81
Figure 4-9 HTTP home page
6. Test the HTTP server plug-in for the WebSphere Application Server. Point
your browser to http://linux11.itso.ibm.com/WSamples. You will once again
see the samples gallery page (Figure 4-10). The difference is that the request
is now coming from the HTTP server instead of directly from the browser.
82 WebSphere V5 for Linux on zSeries - Connectivity Handbook
Figure 4-10 The samples gallery page

Get WebSphere V5 for Linux on zSeries Connectivity Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.