Patching EAP 6.4 returns only "Patching Exception" rather than providing the actual reason for failure

Solution Verified - Updated

Environment

  • Red Hat JBoss Enterprise Application Server (EAP)
    • 6.4.x

Issue

  • If you try to apply a patch on a wrong or unexpected version of EAP 6.4, the CLI command returns with only "Patching Exception" message rather than a detailed or verbose message regarding what version was expected and what version was encountered. For example, if you try to apply CP09 on EAP 6.4.9, it returns with just "Patching Exception " rather than "Patch does not apply - expected (a.b.c.GA), but was (x.y.z.GA)"

Resolution

Components
Category

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.