How do I verify a patch has been installed in EAP 6.2+?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.2 onwards
Issue
- How do I validate a patch was applied successfully other than the response in the CLI?
- What is the command to query the system to see what patches have been applied?
Resolution
Use the patch info CLI command to verify that the patch has been applied:
patch info
The CLI will display a list of installed patches:
{
"outcome" : "success",
"result" : {
"cumulative-patch-id" : "base",
"patches" : ["eap-620-bz123456"]
}
}
For cumulative patches, the 'cumulative-patch-id' will be updated but patches will still be empty:
{
"outcome" : "success",
"result" : {
"cumulative-patch-id" : "jboss-eap-6.2.1.CP",
"patches" : []
}
}
A combination of CP releases and cumulative patches will look like this
{
"outcome" : "success",
"result" : {
"cumulative-patch-id" : "jboss-eap-6.2.4.CP",
"patches" : ["eap-624-bz1234567"]
}
}
Related articles
Main article with overview and links
Updated Patch Management with EAP 6.2+
How do I rollback individual or cumulative patches in JBoss EAP 6.2 and beyond?
The Patch Command and Minor Version Upgrades of JBoss EAP
BAS016840: Patch does not apply - expected (6.3.0.GA), but was (6.3.2.GA)
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.