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

KIE_SERVER_PERSISTENCE_DS not defined for external database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.7.0.GA
    • 7.7.0.GA
    • Cloud
    • None
    • OpenShift 4.3
      Kie operator
      External database for Kie server

    • Release Notes
    • CR1
    • CR2
    • Hide

      Deploy RHPAM authoring scenario with Kie server pointing to external database.
      Check Kie server environment variables => variable KIE_SERVER_PERSISTENCE_DS is missing.

      The result is that Kie server points to default JNDI:

       org.kie.server.persistence.ds = java:/jboss/datasources/ExampleDS
      
      Show
      Deploy RHPAM authoring scenario with Kie server pointing to external database. Check Kie server environment variables => variable KIE_SERVER_PERSISTENCE_DS is missing. The result is that Kie server points to default JNDI: org.kie.server.persistence.ds = java:/jboss/datasources/ExampleDS
    • 2020 Week 07-09 (from Feb 10)

    Description

      When external database is defined for Kie server then Kie operator defines environment variables specifying Kie server configuration properties.
      However environment variable KIE_SERVER_PERSISTENCE_DS [1] is not defined in this case by Kie operator. The result is that Kie server JNDI is still pointing to default H2 database and not to external database JNDI.

      [1] for example in template it is defined - https://github.com/jboss-container-images/rhpam-7-openshift-image/blob/7.7.x/templates/rhpam77-kieserver-externaldb.yaml#L720-L721

      Attachments

        Issue Links

          Activity

            People

              rhn-support-rromerom Ruben Romero Montes
              ksuta Karel Suta
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: