Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-21851

XP: remove XP 2 doesn't work after upgrade

XMLWordPrintable

    • False
    • False
    • Undefined
    • Hide
      • apply EAP patch
      $ ./bin/jboss-cli.sh --command="patch apply jboss-eap-7.3.6-patch.zip"
      {
          "outcome" : "success",
          "result" : {}
      }
      
      • apply XP 1 patch
      $ java -jar jboss-eap-xp-1.0.0-manager.jar setup --jboss-home=jboss-eap-7.3 --accept-support-policy
      ...
      The JBoss EAP expansion pack was setup successfully. You may now use the server
      The expansion pack is currently empty. To get the intended functionality, apply patches from the JBoss EAP XP patch stream
      
      • upgrade to XP 2
      $ java -jar jboss-eap-xp-2.0.0-manager.jar upgrade --jboss-home=jboss-eap-7.3 --xp-patch=jboss-eap-xp-2.0.0-patch.zip
      ...
      The JBoss EAP expansion pack was successfully upgraded to JBoss EAP XP 2.
      
      • remove to XP 2
      $ java -jar jboss-eap-xp-2.0.0-manager.jar remove --jboss-home=jboss-eap-7.3
      
      Rolling back patch with id 'jboss-eap-xp-2.0.0.CP' on patch stream 'jboss-eap-xp-2.0'.
      [ERROR] [org.jboss.as.controller.management-operation] (main) WFLYCTL0013: Operation ("rollback") failed - address: ([
          ("core-service" => "patching"),
          ("patch-stream" => "jboss-eap-xp-2.0")
      ]) - failure description: "java.lang.IllegalStateException: cannot rollback not-applied patch layer-jboss-eap-xp-2.0.0.CP"
      
      Show
      apply EAP patch $ ./bin/jboss-cli.sh --command="patch apply jboss-eap-7.3.6-patch.zip" { "outcome" : "success", "result" : {} } apply XP 1 patch $ java -jar jboss-eap-xp-1.0.0-manager.jar setup --jboss-home=jboss-eap-7.3 --accept-support-policy ... The JBoss EAP expansion pack was setup successfully. You may now use the server The expansion pack is currently empty. To get the intended functionality, apply patches from the JBoss EAP XP patch stream upgrade to XP 2 $ java -jar jboss-eap-xp-2.0.0-manager.jar upgrade --jboss-home=jboss-eap-7.3 --xp-patch=jboss-eap-xp-2.0.0-patch.zip ... The JBoss EAP expansion pack was successfully upgraded to JBoss EAP XP 2. remove to XP 2 $ java -jar jboss-eap-xp-2.0.0-manager.jar remove --jboss-home=jboss-eap-7.3 Rolling back patch with id 'jboss-eap-xp-2.0.0.CP' on patch stream 'jboss-eap-xp-2.0'. [ERROR] [org.jboss.as.controller.management-operation] (main) WFLYCTL0013: Operation ("rollback") failed - address: ([ ("core-service" => "patching"), ("patch-stream" => "jboss-eap-xp-2.0") ]) - failure description: "java.lang.IllegalStateException: cannot rollback not-applied patch layer-jboss-eap-xp-2.0.0.CP"

      When running the remove command in order to remove XP-2, an endless loop starts with the following error:

      Rolling back patch with id 'jboss-eap-xp-2.0.0.CP' on patch stream 'jboss-eap-xp-2.0'.
      [ERROR] [org.jboss.as.controller.management-operation] (main) WFLYCTL0013: Operation ("rollback") failed - address: ([
          ("core-service" => "patching"),
          ("patch-stream" => "jboss-eap-xp-2.0")
      ]) - failure description: "java.lang.IllegalStateException: cannot rollback not-applied patch layer-jboss-eap-xp-2.0.0.CP"
      

              rhn-support-rmartinc Ricardo Martin Camarero
              tborgato@redhat.com Tommaso Borgato
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: