productInfo command

Use the productInfo command to...

  • Validate product integrity
  • Compare different versions of the Liberty servers
  • Verify current product versions
Syntax:

    productInfo action --[options]


action parameters

    compare

    Compare APAR fixes installed in the current installation with a different version of Liberty.

    --target=path to directory or archive file

    Target file with which to compare the current installation. This option is required if --apars is not specified.

    --apars=a comma-separated list of APAR IDs

    Check the current installation against this comma-separated list of APAR IDs to see if it contains them, and then lists any APARs that are not included. This option is required if --target is not specified.

    --output=path to an output file

    Outputs the result from this command to the supplied file name. By default, the output is directed to standard output.

    --verbose

    Display detailed error messages when an error occurs.

    Note: At least one of --target or --apars must be supplied.

    featureInfo

    List all the features installed on the current Liberty server including any installed product extensions.

    --output=path to an output file

    Output the result from this command to the supplied file name. By default, the output is directed to standard output.

    validate

    Validate the Liberty server.

    --output=path to an output file

    Output the result from this command to the supplied file name. By default, the output is directed to standard output.

    version

    Display the product name and version.

    The output includes the name and version of product extensions if a product_extension.properties file is provided in the product extension installations versions directory containing the following properties:

    com.ibm.websphere.productVersion=your_product_version.

    com.ibm.websphere.productName=your_product_name.

    --output=filename

    Output the result from this command to the supplied file name. By default, the output is directed to standard output.

    --verbose

    Display the whole content of each properties file.

    --ifixes

    Display the APAR fixes applied to the system, and the interim fixes that applied them.

    See Provide product information for your feature extension.

    viewLicenseAgreement

    Display the license agreement for the Liberty edition installed.

    viewLicenseInfo

    Display the license information for the Liberty edition installed.

    help

    Display help information for the specific action.


Usage

The following examples demonstrate correct syntax:

    productInfo compare --target=C:\wlp\newInstall\wlp
    productInfo compare --target=C:\wlp\newInstall.jar --output=C:\wlp\compareOutput.txt
    productInfo compare --apars=com.ibm.ws.apar.PM39074,com.ibm.ws.apar.PM39075,com.ibm.ws.apar.PM39080
    productInfo featureInfo --output=c:\wlp\featureListOutput.txt
    productInfo validate
    productInfo help compare productInfo version
    productInfo viewLicenseAgreement
    productInfo viewLicenseInfo


Parent topic: Verify the integrity of Liberty installation