EAP 6 patch apply patch.zip --override crashes

Solution Verified - Updated -

Issue

I installed JBoss EAP 6.2.0 and now try to apply 6.2.1 CP but get this error:

[standalone@localhost:9999 /] patch apply /root/jboss-eap-6.2.1.zip --override
java.lang.NullPointerException
        at org.jboss.as.patching.cli.PatchHandler.createPatchOperationBuilder(PatchHandler.java:347)
        at org.jboss.as.patching.cli.PatchHandler.doHandle(PatchHandler.java:246)
        at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:86)
        at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:600)
        at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:616)
        at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1204)
        at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:263)
        at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.modules.Module.run(Module.java:292)
        at org.jboss.modules.Main.main(Main.java:455)
  • Installing patch BZ-1113339 on top of the patch for EAP 6.2.4 results in a following conflict. But as per article [[1]] (https://access.redhat.com/solutions/275683) BZ-1113339 was released after EAP 6.2.4 though, so the install order according to is correct.:
[disconnected /] patch apply /path-up-to/BZ1113339.zip'
Conflicts detected: org.jboss.as.web:main
Use the --override or --preserve arguments in order to resolve the conflict.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content