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

[ONE-OFF] (7.13.5) Flush should not be called for optimistic locking on correlation key

XMLWordPrintable

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

      PATCH NAME: 
        RHPAM-4943

      PRODUCT NAME: 
        Red Hat Process Automation Manager

      VERSION: 
        7.13.5

      DESCRIPTION: One-off patch for RHPAM-4944:

      • Flush should not be called for optimistic locking on correlation key 

      MANUAL INSTALL INSTRUCTIONS FOR ALL PLATFORMS:

      1. Backup and remove the following jar:

            jbpm-persistence-jpa-7.67.0.Final-redhat-00029.jar
            
         from the following locations:

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

      2. Unzip the file jboss-rhba-7.10.1-RHPAM-4943.zip and copy:

            RHPAM-4943/jbpm-persistence-jpa-7.67.0.Final-redhat-00029-RHPAM-4943.jar
            
         to:

            $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.13.5-RHPAM-4943.zip) and change into the RHPAM-4943 directory

          2. Run the following commands to install the patch binaries to the local maven repository:
          
               mvn install:install-file Dfile=jbpm-persistence-jpa-7.67.0.Final-redhat-00029RHPAM-4943.jar Dsources=jbpm-persistence-jpa-7.67.0.Final-redhat-00029RHPAM-4943sources.jar -DpomFile=jbpm-persistence-jpa-7.67.0.Final-redhat-00029RHPAM-4943.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-persistence-jpa</artifactId>
                      <version>7.67.0.Final-redhat-00029-RHPAM-4943</version>
                   </dependency>
                   
      ADDITIONAL INSTALL INSTRUCTIONS FOR ALL PLATFORMS:

          Find and replace the file
              jbpm-persistence-jpa-7.67.0.Final-redhat-00029.jar
           

          with the patched jar:
             jbpm-persistence-jpa-7.67.0.Final-redhat-00029-RHPAM-4943.jar
            

          for all occurences of that file in your project.

      CREATOR:
              Alberto Fanjul
      DATE:
              07-May-2024

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

                Created:
                Updated:
                Resolved: