Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2562

RHPAM / RHDM 7.5.1 Update tool fails to update 7.5.0 installation with InvalidVersionException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.5.1.GA
    • 7.5.1.GA
    • Upgrade Tool
    • Hide

      Workaround is documented in KBase:
      https://access.redhat.com/solutions/4639281

      Show
      Workaround is documented in KBase: https://access.redhat.com/solutions/4639281
      1. Install EAP7.2.4 by unzip jboss-eap-7.2.4.zip
      2. Install RHPAM 7.5.0 by jar installer
      3. Run 7.5.1 update.sh

    Description

      Trying to upgrade a system from 7.5.0 to 7.5.1 fails with the following error:

      $ ./apply-updates.sh /data/jboss/rhdm750/standalone/deployments/kie-server.war rhdm-kie-server-ee8
      ...
      21:35:01.694 [main] TRACE - Checking expected entries inside provided distribution root /data/jboss/rhpam750/standalone/deployments/kie-server.war
      21:35:01.695 [main] TRACE - Expected entry ExpectedExistingFile{relativePath='META-INF/kie-server-jms.xml'} found.
      21:35:01.695 [main] TRACE - Expected entry ExpectedExistingDir{relativePath='WEB-INF'} found.
      21:35:01.695 [main] TRACE - Expected entry ExpectedExistingFile{relativePath='WEB-INF/web.xml'} found.
      21:35:01.696 [main] ERROR - Error occurred during the execution!
      org.jboss.brmsbpmsuite.patching.client.InvalidVersionException: The patch is not valid for the distribution and version!
      	at org.jboss.brmsbpmsuite.patching.client.GeneralDistributionPatcher.checkVersion(GeneralDistributionPatcher.java:48)
      	at org.jboss.brmsbpmsuite.patching.phase.DistributionPatchingPhaseRunner.run(DistributionPatchingPhaseRunner.java:24)
      	at org.jboss.brmsbpmsuite.patching.client.ClientPatcherRunner.runPhases(ClientPatcherRunner.java:73)
      	at org.jboss.brmsbpmsuite.patching.client.ClientPatcherRunner.runDistributionPatcher(ClientPatcherRunner.java:61)
      	at org.jboss.brmsbpmsuite.patching.client.ClientPatcherRunner.run(ClientPatcherRunner.java:38)
      	at org.jboss.brmsbpmsuite.patching.client.ClientPatcherApp.commonMain(ClientPatcherApp.java:53)
      	at org.jboss.brmsbpmsuite.patching.client.BPMSuiteClientPatcherApp.main(BPMSuiteClientPatcherApp.java:6)
      

      Full update log at TRACE level attached.

      Attachments

        Activity

          People

            almorale Alberto Morales PĂ©rez (Inactive)
            rhn-support-mputz Martin Weiler (Inactive)
            Martin Cimbalek Martin Cimbalek
            Martin Cimbalek Martin Cimbalek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: