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

[ONE-OFF] (7.12.0) Task suspension and automatic reactivation after defined time period in RHPAM

XMLWordPrintable

    • Icon: Support Patch Support Patch
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None

      PATCH NAME:
      RHPAM-4130

      PRODUCT NAME:
      Red Hat Process Automation Manager

      VERSION:
      7.12.0

      DESCRIPTION: One-off patch for BAPL-2000, JBPM-9891:

      • JBPM-9891 TaskInstanceView does not reflect the final state of the task
      • BAPL-2000 Task suspension and automatic reactivation after defined time period in RHPAM

      MANUAL INSTALL INSTRUCTIONS FOR ALL PLATFORMS:

      1. Backup and remove the following jar:

      jbpm-flow-7.59.0.Final-redhat-00006.jar
      jbpm-human-task-core-7.59.0.Final-redhat-00006.jar
      jbpm-persistence-api-7.59.0.Final-redhat-00006.jar
      jbpm-runtime-manager-7.59.0.Final-redhat-00006.jar

      from the following locations:

      $SERVER_DEPLOYMENT_DIR/business-central.war/WEB-INF/lib/
      $SERVER_DEPLOYMENT_DIR/kie-server.war/WEB-INF/lib/
      $RHPAM_ENGINE/
      $YOUR_OWN_APPLICATION_LIB/

      2. Unzip the file jboss-rhba-7.12.0-RHPAM-4130.zip and copy:

      RHPAM-4130/jbpm-flow-7.59.0.Final-redhat-00006-RHPAM-4130.jar
      RHPAM-4130/jbpm-human-task-core-7.59.0.Final-redhat-00006-RHPAM-4130.jar
      RHPAM-4130/jbpm-persistence-api-7.59.0.Final-redhat-00006-RHPAM-4130.jar
      RHPAM-4130/jbpm-runtime-manager-7.59.0.Final-redhat-00006-RHPAM-4130.jar

      to:

      $SERVER_DEPLOYMENT_DIR/business-central.war/WEB-INF/lib
      $SERVER_DEPLOYMENT_DIR/kie-server.war/WEB-INF/lib
      $RHPAM_ENGINE
      $YOUR_OWN_APPLICATION_LIB

      MANUAL INSTALL INSTRUCTIONS FOR MAVEN BASED PROJECTS:

      1. Extract the attached zip (jboss-rhba-7.12.0-RHPAM-4130.zip) and change into the RHPAM-4130 directory

      2. Run the following commands to install the patch binaries to the local maven repository:

      mvn install:install-file Dfile=jbpm-flow-7.59.0.Final-redhat-00006RHPAM-4130.jar Dsources=jbpm-flow-7.59.0.Final-redhat-00006RHPAM-4130sources.jar -DpomFile=jbpm-flow-7.59.0.Final-redhat-00006RHPAM-4130.pom -Dpackaging=jar
      mvn install:install-file Dfile=jbpm-human-task-core-7.59.0.Final-redhat-00006RHPAM-4130.jar Dsources=jbpm-human-task-core-7.48.0.Final-redhat-00006RHPAM-4130sources.jar -DpomFile=jbpm-human-task-core-7.48.0.Final-redhat-00006RHPAM-4130.pom -Dpackaging=jar
      mvn install:install-file Dfile=jbpm-persistence-api-7.59.0.Final-redhat-00006RHPAM-4130.jar Dsources=jbpm-persistence-api-7.48.0.Final-redhat-00006RHPAM-4130sources.jar -DpomFile=jbpm-persistence-api-7.48.0.Final-redhat-00006RHPAM-4130.pom -Dpackaging=jar
      mvn install:install-file Dfile=jbpm-runtime-manager-7.59.0.Final-redhat-00006RHPAM-4130.jar Dsources=jbpm-runtime-manager-7.59.0.Final-redhat-00006RHPAM-4130sources.jar -DpomFile=jbpm-runtime-manager-7.59.0.Final-redhat-00006RHPAM-4130.pom -Dpackaging=jar

      3. Override the original version of modified jars explicitly declaring them in <dependencyManagement> of your project pom.xml:

      <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-flow</artifactId>
      <version>7.59.0.Final-redhat-00006-RHPAM-4130</version>
      </dependency>

      <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-human-task-core</artifactId>
      <version>7.59.0.Final-redhat-00006-RHPAM-4130</version>
      </dependency>

      <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-persistence-api</artifactId>
      <version>7.59.0.Final-redhat-00006-RHPAM-4130</version>
      </dependency>

      <dependency>
      <groupId>org.jbpm</groupId>
      <artifactId>jbpm-runtime-manager</artifactId>
      <version>7.59.0.Final-redhat-00006-RHPAM-4130</version>
      </dependency>

      ADDITIONAL INSTALL INSTRUCTIONS FOR ALL PLATFORMS:

      Find and replace the file
      jbpm-flow-7.59.0.Final-redhat-00006.jar
      jbpm-human-task-core-7.59.0.Final-redhat-00006.jar
      jbpm-persistence-api-7.59.0.Final-redhat-00006.jar
      jbpm-runtime-manager-7.59.0.Final-redhat-00006.jar

      with the patched jar:
      jbpm-flow-7.59.0.Final-redhat-00006-RHPAM-4130.jar
      jbpm-human-task-core-7.59.0.Final-redhat-00006-RHPAM-4130.jar
      jbpm-persistence-api-7.59.0.Final-redhat-00006-RHPAM-4130.jar
      jbpm-runtime-manager-7.59.0.Final-redhat-00006-RHPAM-4130.jar

      for all occurences of that file in your project.

      CREATOR:
      Alberto Fanjul
      DATE:
      19-Jan-2022

            afanjula@redhat.com Alberto Fanjul Alonso
            afanjula@redhat.com Alberto Fanjul Alonso
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: