Installing and accessing the Samples Gallery on IBM i

If you install the Samples feature when you install the product, you can install the samples in the WebSphere® Application Server Samples Gallery. The samples are included with the WebSphere Application Server on your IBM® i server.

Before you begin

The Samples feature is not installed with the product by default. Use this procedure only if you changed the default and installed the Samples feature.

Procedure

  1. Create a standalone application server profile with the manageprofiles command or use the default application server profile.

    By default, only the Samples Gallery and the Plants by WebSphere application are installed on the application server.

    The samples are in the profile_root/installedApps/cell_name directory.

    The cell_name variable is the name of your WebSphere Application Server cell.

  2. Start the application server.
  3. Access the Samples Gallery.

    Go to http://your.server.name:port/WSsamples.

    The your.server.name variable is the name of your IBM i server and port is the port number for the internal HTTP transport of the application server.

  4. Optional: Install additional samples.

    Additional samples are initially listed as installable samples in the Samples Gallery. For further instructions on installing each sample, refer to the Installable Samples section of the Samples Gallery in your Web browser.

    To installing additional samples on non-default profiles, you must specify the -server myServer parameter. Additional information about the -server parameter and other script values is in the Installable Samples section of the Samples Gallery, in the Samples install help section.

Results

If you can access the Samples Gallery, you installed them successfully. If you are unable to access the Samples Gallery, verify the following items:
  • Verify that the application server is running.

    On the CL command line, run the following command:

    WRKACTJOB SBS(QWAS7)

    Look for the name of your application server profile.

  • Verify that the Samples are installed.

    In the administrative console, expand Applications and click Enterprise applications. Confirm that the Samples Gallery is listed as an installed application.

  • Verify the port number.
    The default port for the default application server profile is 9080. To verify or change the port number, follow these steps:
    1. In the administrative console navigation frame, expand Servers and click Application servers.
    2. Click the name of the application server. For the default application server profile, the server name is server1.
    3. Click Ports.
    4. Verify the WC_defaulthost port number.
    5. If you need to change the port number, click WC_defaulthost.
    6. Type the new port number in the Port field.
    7. Click OK.
    8. To save the configuration changes, click Save.

What to do next

Read the "Accessing Samples" topic to learn about the samples that are available.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 12:08:31 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-base-iseries&topic=tins_is_instsamples
File name: tins_is_instsamples.html