Fix Pack 8501

Liberty profile: productInfo command

Use the productInfo command to validate the product integrity, compare different versions of the Liberty profile servers, and verify the current product versions.

Syntax

The command syntax is as follows:

productInfo action --[options]

Where the possible values of the options vary depending on the value of theaction parameter.

Parameters

The following action parameters and options values are available for the productInfo command:
compare
Allows you to compare APAR fixes that are installed in the current installation with a different version of Liberty profile.
--target=path to directory or archive file
Specifies the target file with which to compare the current installation. The value of --target can be either a directory or an archive file that must be a valid Liberty profile installation location. This option is required if --apars is not specified.
--apars=a comma separated list of APAR IDs
Checks 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
Displays detailed error messages when an error occurs.
Note: At least one of --target or --apars must be supplied
featureInfo
Lists all the features that are installed on the current Liberty profile server including any installed product extensions.
--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.
validate
Validates the Liberty profile server.
--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.
version
Displays 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
Outputs the result from this command to the supplied file name. By default, the output is directed to standard output.
--verbose
Displays the whole content of each properties file.
--ifixes
Displays the APAR fixes that are applied to the system, and the interim fixes that applied them.

For more information, refer to Provide product information for your feature extension

help
Displays 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

Icon that indicates the type of topic Reference topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Monday, 21 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=rwlp_command_productinfo
File name: rwlp_command_productinfo.html