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

XP Manager for XP 3 - windows - remove XP stream

XMLWordPrintable

    • False
    • False
    • Undefined
    • Workaround Exists
    • Hide

      start same command for remove XP stream again

      java -jar jboss-eap-7.4.0.GA-xp-3.0.0.GA-CR1-manager.jar remove --jboss-home=C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4 --accept-support-policy

      result

      C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4" --accept-support-policy
      Starting JBoss EAP XP manager (3.0.0.Final-redhat-00002).

      JBoss Enterprise Application Platform expansion pack (JBoss EAP XP or EAP XP) is subject to its own separate support policy and life cycle for closer alignment with Eclipse MicroProfile specification release cadence.
      By removing EAP XP from this JBoss EAP server, this server will now be subject to the JBoss EAP support and life cycle policy and no more to the EAP XP support policy. Please refer to the JBoss Enterprise Application Platform Life Cycle page at https://access.redhat.com/support/policy/updates/jboss_notes for more details.

      [INFO] Support policy change accepted by passing in the --accept-support-policy parameter.
      Successfully removed the JBoss EAP XP stream.

      Show
      start same command for remove XP stream again java -jar jboss-eap-7.4.0.GA-xp-3.0.0.GA-CR1-manager.jar remove --jboss-home=C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4 --accept-support-policy result C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4" --accept-support-policy Starting JBoss EAP XP manager (3.0.0.Final-redhat-00002). JBoss Enterprise Application Platform expansion pack (JBoss EAP XP or EAP XP) is subject to its own separate support policy and life cycle for closer alignment with Eclipse MicroProfile specification release cadence. By removing EAP XP from this JBoss EAP server, this server will now be subject to the JBoss EAP support and life cycle policy and no more to the EAP XP support policy. Please refer to the JBoss Enterprise Application Platform Life Cycle page at https://access.redhat.com/support/policy/updates/jboss_notes for more details. [INFO] Support policy change accepted by passing in the --accept-support-policy parameter. Successfully removed the JBoss EAP XP stream.
    • Hide

      Perquisites

      • windows
      • java 1.8 (openJDK or oracleJDK)
      • jboss-eap-7.4
      • jboss-eap-xp-3.0.0-manager.jar
      • jboss-eap-xp-3.0.0-patch.zip

      Steps

      • start update EAP server

        java -jar jboss-eap-7.4.0.GA-xp-3.0.0.GA-CR1-manager.jar setup --jboss-home=C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4 --accept-support-policy --xp-patch=C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-xp-3.0.0.GA-CR1-patch.zip

      • start remove XP stream

        java -jar jboss-eap-7.4.0.GA-xp-3.0.0.GA-CR1-manager.jar remove --jboss-home=C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4 --accept-support-policy

      Result

      [ERROR] An error occurred deleting C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4\modules\system\layers\microprofile. The state of the JBoss EAP XP patch stream installation will be inconsistent. Run with the 'status' command to fix.
      java.nio.file.FileSystemException: C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4\modules\system\layers\microprofile\.overlays\layer-jboss-eap-xp-3.0.0.CP\io\smallrye\reactive\converters\api\main\smallrye-reactive-converter-api-2.1.1.redhat-00001.jar: The process cannot access the file because it is being used by another process.

       

      Show
      Perquisites windows java 1.8 (openJDK or oracleJDK) jboss-eap-7.4 jboss-eap-xp-3.0.0-manager.jar jboss-eap-xp-3.0.0-patch.zip Steps start update EAP server java -jar jboss-eap-7.4.0.GA-xp-3.0.0.GA-CR1-manager.jar setup --jboss-home=C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4 --accept-support-policy --xp-patch=C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-xp-3.0.0.GA-CR1-patch.zip start remove XP stream java -jar jboss-eap-7.4.0.GA-xp-3.0.0.GA-CR1-manager.jar remove --jboss-home=C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4 --accept-support-policy Result [ERROR] An error occurred deleting C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4\modules\system\layers\microprofile. The state of the JBoss EAP XP patch stream installation will be inconsistent. Run with the 'status' command to fix. java.nio.file.FileSystemException: C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4\modules\system\layers\microprofile\.overlays\layer-jboss-eap-xp-3.0.0.CP\io\smallrye\reactive\converters\api\main\smallrye-reactive-converter-api-2.1.1.redhat-00001.jar: The process cannot access the file because it is being used by another process.  

      Manager cannot remove some files during removing XP stream from JBoss EAP server.  

      This happened only on windows with java 1.8 (oracleJDK and opendJDK)

      [ERROR] An error occurred deleting C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4\modules\system\layers\microprofile. The state of the JBoss EAP XP patch stream installation will be inconsistent. Run with the 'status' command to fix.
      java.nio.file.FileSystemException: C:\Users\hudson.EAPQE-SNAPSHOT0\Documents\jboss-eap-7.4.0.GA-CR3\jboss-eap-7.4\modules\system\layers\microprofile\.overlays\layer-jboss-eap-xp-3.0.0.CP\io\smallrye\reactive\converters\api\main\smallrye-reactive-converter-api-2.1.1.redhat-00001.jar: The process cannot access the file because it is being used by another process.

              kkhan1@redhat.com Kabir Khan
              rhn-support-kstekovi Krystof Stekovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: