Seeing 'patching exception' when applying JBoss EAP patch in Windows

Solution Verified - Updated

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.4.14 and earlier versions
  • Microsoft Windows

Issue

  • While applying EAP 6.4 CP 15 patch it throws 'patching exception'
c:\JBossEAP\6.4>bin\jboss-cli.bat "patch apply C:\Temp\jboss-eap-6.4.15-patch.zip"
{
    "outcome" : "success",
    "result" : {}
}
patching exception
Press any key to continue . . .
  • When I tried to apply a 6.4.9 patch on top of JBoss EAP 6.4.0 from its JBoss EAP home, I'm running in to "patching exception". It was extracted from the zip file under Windows 10.
C:\Temp\JBOSS\JBoss6.4.14\jboss-eap-6.4.0\jboss-eap-6.4\bin>jboss-cli.bat "patch apply C:\Temp\JBOSS\JBoss6.4.14\jboss-eap-6.4.9-patch.zip"
patching exception
Press any key to continue . . .

Resolution

Its an issue with the CLI patching tool in the Windows environment, this issue is addressed in This content is not included.BZ-1408961 and fixed on This content is not included.EAP 6.4 CP 15, With patch apply command patch is applied successfully but it throws an exception at the end.

After applying the EAP 6.4 CP 15 users should not see the error message. As well, can confirm the JBoss EAP version through the server.log file or from the EAP Management Console.

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.