Exercise 12.3: Installing the application

Before you begin, you must complete Exercise 12.2: Exporting your EAR file.

At this point, you already need to have set up and started the WebSphere Application Server and an associated HTTP server on your iSeries server. You also need to find the port number of the HTTP servers Administrative Console (referred to as port#a) and the port number to run your application (referred to as port#b) The second one is the port number of your HTTP server that is set up to work with your application server.

To install the application:

  1. Open any Web browser and type: http://servername:port#a/ in the Address field.
    Note:
    The default administrative port number for the HTTP server is 2001.

    The Login dialog appears.

  2. Type your iSeries user ID in the user ID field.
  3. Type your iSeries password in the password field.
  4. Click OK.

    The browser opens.
    HTTP server administration menu

  5. Click IBM HTTP Server for iSeries from the iSeries Tasks menu.

    The Administration pages for the HTTP and application servers display.

  6. Select the Manage tab then the Application Servers tab.

    The Manage Application Server - Express page displays.
    WAS Express control page

  7. Select your WebSphere Application Server Express server instance from the Server list.
  8. Click Install New Application in the right pane.

    The Install New Application page displays.
    Install New Application page

  9. Click the Application is contained in an EAR file radio button.
  10. Specify the location of your EAR file; (the file that you exported in the previous step).

    You can use the Browse push button to locate the file.

  11. Click Next.

    A page appears with options for application installation.
    Specify option for application installation

  12. In the Application name field, type wflabxx.
  13. You can select the Pre-compile JSPs check box to speed up the process of showing the page the first time. (JSPs are compiled into Servlets when first generated.)
  14. Click Next.

    The Map Virtual Hosts Page appears.
    Select the virtual host to be associated with the web modules

  15. Select the virtual host to be associated with the Web module.
  16. Select a virtual host of your choice, or leave the default host selected.
  17. Click Next.

    The application summary page displays.
    Summary page for application installation

  18. Click Finish.

    After the successful installation you see a page where you can manage the installed applications.
    Manage Application Server page with configuration information

  19. Click Manage Installed Applications under Applications.

    A page with the installed applications displays.
    Select the application from the list

  20. Click the wflabxx radio button in the list of installed applications.
  21. If the wflabxx application is disabled, click the Properties push button to enable the application.
    Enable your application
  22. Select Enabled from the Application enablement list.
  23. Click OK.

    Next you start the application with wflabxx in the enabled state.
    Start the application

  24. Click the wflabxx radio button.
  25. Click Start.

    If the Start button is not enabled, start the server first.

    Now you are ready to test your WebFacing application.

You have started the existing HTTP server, installed and managed the application and now you are ready to begin Exercise 12.4: Testing the WebFacing application.