Technical Blog Post
Abstract
How do you verify the product information of Liberty Profile?
Body
If you need to verify the product information of Liberty Profile, you can use the productInfo command to display the current product version, edition, and other details about the product.
productInfo version
Command: "productInfo version" shows the product name, version, and edition. It can be entered from the install root bin directory, for example, "wlp\bin\productInfo version".
This command can be used to validate if Liberty is successfully installed.
* Note: The product edition is displayed on V8.5.5.1 or above.
- Example:
C:\IBM\Liberty\wlp\bin>productInfo version
Product name: WebSphere Application Server
Product version: 8.5.5.2
Product edition: ND
productInfo version --ifixes
Command: "productInfo version --ifixes" displays the APAR ifixes that are applied to the system. It can be entered from the install root bin directory, for example, "wlp\bin\productInfo version --ifixes".
This command can be used to validate if an ifix is successfully installed.
- Example:
We can see the iFix PI21284 is installed.
C:\IBM\Liberty\wlp\bin>productInfo version --ifixes
Product name: WebSphere Application Server
Product version: 8.5.5.2
Product edition: ND
PI21284 in the iFix(es): [8552-wlp-archive-IFPI21284]
productInfo version --verbose
Command: "productInfo version --verbose" shows the details of product information. It can be entered from the install root bin directory, for example, "wlp\bin\productInfo version --verbose".
This shows the install type whether you installed Liberty by Installation Manager or jar archive.
* Note: There are two types of Liberty ifixes available: a .zip ifix that is installable through Installation Manager, and a .jar ifix that is for jar archive. If you are not sure which installation type you used, use the command "productInfo version --verbose" to verify.
- Example1:
We can see the Liberty Profile was installed by Installation Manager.
C:\IBM\Liberty\wlp\bin>productInfo version --verbose
WebSphereApplicationServer.properties:
com.ibm.websphere.productId=com.ibm.websphere.appserver
com.ibm.websphere.productOwner=IBM
com.ibm.websphere.productVersion=8.5.5.2
com.ibm.websphere.productName=WebSphere Application Server
com.ibm.websphere.productInstallType=InstallationManager
com.ibm.websphere.productEdition=ND
com.ibm.websphere.productLicenseType=IPLA
Example2:
We can see the Liberty Profile was installed from jar archive.
C:\IBM\Archive\wlp\bin>productInfo version --verbose
WebSphereApplicationServer.properties:
com.ibm.websphere.productId=com.ibm.websphere.appserver
com.ibm.websphere.productOwner=IBM
com.ibm.websphere.productVersion=8.5.5.2
com.ibm.websphere.productName=WebSphere Application Server
com.ibm.websphere.productInstallType=Archive
com.ibm.websphere.productEdition=ND
com.ibm.websphere.productLicenseType=IPLA
For more information, please see the WebSphere Application Server product documentation: Liberty profile: productInfo command
title image (modified) credit: (cc) Some rights reserved by Nemo
UID
ibm11081101