How to resolve the conflicts detected ERROR while applying patch through CLI command in EAP 6 ?

Solution Verified - Updated -

Issue

  • Getting the following ERROR while applying a patch jboss-eap-6.2.3-patch.zip:
[user@user bin]$ ./jboss-cli.sh 
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] patch apply /path-up-to/jboss-eap-6.2.3-patch.zip
Conflicts detected: bin/standalone.sh
Use the --override or --preserve arguments in order to resolve the conflict.
  • Getting following error while applying patch :
[domain@localhost:9999 /] patch apply /home/abc/BZ1135579.zip --host=JSF-jboss02
{"host-failure-descriptions" => [("JSF-jboss02" => {
    "message" => "Conflicts detected",
    "conflicts" => {"modules" => ["org.apache.cxf.impl:main"]}
})]}

How to persist the changes done to a module?

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.