Using IBM WebSphere Liberty for Pivotal Platform

This topic describes how to use IBM WebSphere Liberty for Pivotal Platform.

Accept the IBM Liberty and IBM JRE Licenses

Before deploying applications using the IBM WebSphere Liberty for Pivotal Platform buildpack, accept the IBM Liberty license and IBM JRE license by following the instructions below:

  1. Read the current IBM Liberty-License and the current IBM JVM-License.
  2. Extract the D/N: <License code> from the Liberty-License and JVM-License.
  3. Add the following environment variables and extracted license codes to the manifest.yml file in the directory from which you push your application. For more information about the format of the manifest.yml file, see Deploying with Application Manifests in the Cloud Foundry documentation.

    ---
      ...
      env:
        IBM_JVM_LICENSE: <JVM license code>
        IBM_LIBERTY_LICENSE:  <Liberty license code>
    

Use IBM WebSphere Liberty for Pivotal Platform

After you have accepted the licenses and added the license code to the manifest.yml, use the following command to deploy the application with the IBM WebSphere Liberty for Pivotal Platform buildpack:

cf push APP-NAME -b ibm_websphere_liberty_buildpack

For example:

$ cf push my-app -b ibm_websphere_liberty_buildpack