This topic applies only on the i5/OS operating system.

Installing and accessing the Samples Gallery

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 iSeries 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 or use the default application server profile.

    See the description of the manageprofiles command for information about creating a 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 Network Deployment cell.

  2. Federate the stand-alone node into the cell to run the samples in a distributed WebSphere Application Server Network Deployment environment.
    Use the addNode command to federate the node into the deployment manager cell. When you run the addNode script, use the dmgr_host argument, and -includeapps and -includebuses options:
    addNode dmgr_hostname -includeapps -includebuses

    The dmgr_hostname variable is the name of the machine that hosts your deployment manager profile. For more information about the addNode command, see the description of the addNode command.

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

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

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

  5. 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(QWAS61)

    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.

    For more information about this port number setting, see HTTP transport channel settings.

What to do next

Go to Accessing Samples to learn about the samples that are available.




In this information ...


Related reference

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 Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 1:23:07 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=tins_is_instsamples
File name: tins_is_instsamples.html