Installation Manager repository for Liberty samples

The Installation Manager repository contains product samples and open source samples for WebSphere Application Server Liberty Profile.

Description

The Installation Manager repository contains product samples and open source samples for WebSphere Application Server Liberty Profile. To install the Liberty samples, use IBM Installation Manager Version 1.5.2 or above and WebSphere Application Server Liberty Profile Version 8.5.5 or above. Installation Manager can install the Liberty samples only on a Liberty server; not on a full profile server.

Installing the Liberty samples using the Installation Manager GUI

  1. Install IBM Installation Manager and WebSphere Application Server Liberty Profile.
    1. You can download both as part of IBM WebSphere Application Server for Developers at no charge from
      https://www.ibmdw.net/wasdev/downloads/websphere-application-server-for-developers/
    2. Choose the Installation Manager download option. This directs you to IBM WebSphere Application Server for Developers download page.
    3. Download Installation Manager for [platform/architecture] with WebSphere Application Server for Developers including Liberty, v8.5.5. This zip file contains IBM installation Manager and IBM WebSphere Application Server Liberty for Developers.
  2. Start Installation Manager and install IBM WebSphere Application Server Liberty for Developers with all the features selected: image001 Installation Manager repository for Liberty samples
  3. After installing IBM WebSphere Application Server Liberty for Developers, add the following Liberty sample repository URL in the Preferences dialog:
    https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/IM/libertysample/repository

    image002 Installation Manager repository for Liberty samples

  4. Select the type of samples you want to install from the Installation Packages list:
    image003 Installation Manager repository for Liberty samples
  5. Select the existing package group where WebSphere Application Server Liberty Profile is installed and click Next.
    image004 Installation Manager repository for Liberty samples
  6. Select the samples to install from the feature panel:
    image005 Installation Manager repository for Liberty samples
  7. Select the I accept to download external libraries check box and click Next. This panel is displayed when you select samples that require external libraries.image006 Installation Manager repository for Liberty samples
  8. Review the list of external libraries to be downloaded during installation. They are required by the selected features.
    image007 Installation Manager repository for Liberty samples
  9. Click Install:
    image008 Installation Manager repository for Liberty samples
  10. Confirm that the selected samples were installed successfully:
    image009 Installation Manager repository for Liberty samples

Installing the Liberty samples from the command line

Run these commands from the tools directory of Installation Manager. (For more information, see Locating tools directory).

Installing IBM Liberty Product Samples

Run the following command:

imcl install com.ibm.websphere.liberty.product.sample [,<featureID>]
-repositories <source_repository>
-acceptLicense
-installationDirectory <installation_directory>
-properties user.accept.download,,com.ibm.websphere.liberty.product.sample=true

e.g.

imcl install com.ibm.websphere.liberty.product.sample,liberty.product.sample.cdi,liberty.product.sample.ejb,liberty.product.sample.ejb.onlinepolling,liberty.product.sample.ejb.secure,liberty.product.sample.jaxwsejb,liberty.product.sample.jaxwsweb,liberty.product.sample.jdbc,liberty.product.sample.jmsclient,liberty.product.sample.jmsserver,liberty.product.sample.jpa,liberty.product.sample.mongodb,liberty.product.sample.servlet -repositories "https://sample_repository"
-installationDirectory "C:\Program Files\IBM\WebSphere\Liberty"
-acceptLicense
-properties user.accept.download,,com.ibm.websphere.liberty.product.sample=true

Installing IBM Liberty Open Source Integrations

Run the following command:

imcl install com.ibm.websphere.liberty.osi.sample[,<featureID>]
-repositories <source_repository>
-acceptLicense
-installationDirectory <installation_directory>
-properties user.accept.download,,com.ibm.websphere.liberty.osi.sample=true

e.g.

imcl install com.ibm.websphere.liberty.osi.sample,liberty.osi.sample.grails,liberty.osi.sample.hibernate,liberty.osi.sample.icefaces,liberty.osi.sample.lift,liberty.osi.sample.mojarra,liberty.osi.sample.primefaces,liberty.osi.sample.scala,liberty.osi.sample.spring,liberty.osi.sample.stripes,liberty.osi.sample.struts,liberty.osi.sample.struts2,liberty.osi.sample.tapestry,liberty.osi.sample.wicket -repositories "https://sample_repository"
-installationDirectory "C:\Program Files\IBM\WebSphere\Liberty"
-acceptLicense
-properties user.accept.download,,com.ibm.websphere.liberty.osi.sample=true

For more information, see Installing packages by using imcl commands