Applying CP02 failed due to patch conflict when applying the CP02 on the top of EAP 6.2.1 with BZ1064685.zip

Solution Unverified - Updated -

Issue

Applying a new CP02 jboss-eap-6.2.2.zip failed due to patch conflict when applying CP02 on the top of EAP 6.2.1 with a security patch BZ1064685.zip for CVE-2014-0050:

[jbossuser@myhost jboss-eap-6.2]$ ./bin/jboss-cli.sh 
[disconnected /] patch info                             
{
    "outcome" : "success",
    "result" : {
        "cumulative-patch-id" : "jboss-eap-6.2.1.CP",
        "patches" : ["eap-621-bz1064685"]
    }
}
[disconnected /] patch apply /path/to/jboss-eap-6.2.2.zip
Conflicts detected: modules/system/layers/base/org/jboss/as/web/main/lib/README.txt
Use the --override or --preserve arguments in order to resolve the conflict.

I also tried to rollback the security patch ("eap-621-bz1064685") but applying CP02 still failed:

[disconnected /] patch rollback --patch-id=eap-621-bz1064685 --reset-configuration=false
{
    "outcome" : "success",
    "result" : {}
}
[disconnected /] patch apply /path/to/jboss-eap-6.2.2.zip
Conflicts detected: modules/system/layers/base/org/jboss/as/web/main/lib/README.txt
Use the --override or --preserve arguments in order to resolve the conflict.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.2.1 + BZ1064685

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