productInfo command
Use the productInfo command to validate the product integrity, compare different versions of the Liberty 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 the action 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.
- featureInfo
- Lists all the features that are installed on the current Liberty server including any installed product extensions.
- validate
- Validates the Liberty server.
- version
- Displays the product name and version.
- viewLicenseAgreement
- Displays the license agreement for the Liberty edition that is installed.
- viewLicenseInfo
- Displays the license information for the Liberty edition that is installed.
- 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
productInfo version
productInfo viewLicenseAgreement
productInfo viewLicenseInfo