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

need to remove the temporary fix for KIE server using postgresql-42.2.2.jar

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 7.0.0.GA
    • None
    • None

      KIE server is using PostgreSQL 9.2 JDBC from rpm, which caused this bug: https://issues.jboss.org/browse/RHPAM-740

      We are requesting the latest postgresql-42.2.2.jar rpm to be installed, before that I put in a temporary fix by adding the latest PostgreSQL JDBC to replace the old 9.2 JDBC. These are the PRs for the temp fix:

      jboss-kie-modules: https://github.com/jboss-container-images/jboss-kie-modules/pull/21
      rhpam-7-openshift-image: https://github.com/jboss-container-images/rhpam-7-openshift-image/pull/31

      So once the new rpm is installed, we need to revert the temp fix.
      The temp fix's code change are:
      1) rhpam-7-openshift-image/kieserver/image.yaml, added:
      + - path: postgresql-42.2.2.redhat-2.jar
      + description: "temp fix for https://issues.jboss.org/browse/RHPAM-740, after the latest postgresql jar is provided from RPM, follow up work: https://issues.jboss.org/browse/RHPAM-785"
      + md5: 48a419e50c1524fe9612f8db6e31ccec

      2) jboss-kie-modules/os.bpmsuite.executionserver/configure.sh, added these lines:

      +POSTGRESQL_JAR=${SOURCES_DIR}/postgresql-42.2.2.redhat-2.jar
      +if [ -f $POSTGRESQL_JAR ]; then
      + cp $POSTGRESQL_JAR /usr/share/java/postgresql-jdbc.jar
      +fi

              czhu_jira calvin zhu (Inactive)
              czhu_jira calvin zhu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: