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
Syntax:
productInfo action --[options]
Parameters
- compare
- Compare APAR fixes installed in the current installation with a different version of Liberty profile.
- --target=path/to/directory/or/archive/file
- 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. 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. Required if --target is not specified.
- --output=/path/to/output.txt
- Default is stdout.
- --verbose
- Displays detailed error messages when an error occurs.
At least one of --target or --apars must be supplied
- featureInfo
- List features installed on the current Liberty profile server including any installed product extensions.
- --output=/path/to/output.txt
- Output the result from this command to the supplied file name. Default stdout.
- validate
- Validates the Liberty profile server.
- --output=/path/to/output.txt
- Output the result from this command to the supplied file name. Defaut is stdout.
- version
- Display the product name and version.
- The output includes the name and version of product extensions if a file...
product_extension.properties
...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. Default is stdout.
- --verbose
- Display the whole content of each properties file.
- --ifixes
- Display applied APAR fixes, and the interim fixes that applied them.
- 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
See also
Provide product information for the feature extension
Parent topic: productInfo