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

OCP Kie Server image with enable JMS integration missin AMQ configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.10.0.GA, 7.11.0.GA
    • 7.10.0.GA
    • Cloud
    • OCP 4.6
      BA Operator 7.10.0 CR1
      AMQ 7.8
      RHPAM Kie Server image 7.10.0 CR1

    • False
    • False
    • CR1
    • CR2
    • +
    • Undefined
    • Hide

      E.g. run following KieApp

      apiVersion: app.kiegroup.org/v2
      kind: KieApp
      metadata:   name: myapp
      spec:   commonConfig:     adminPassword: usetheforce123@
          adminUser: yoda
        environment: rhpam-production-immutable
        objects:     console:       env:         - name: KIE_ADMIN_USER
                value: yoda
              - name: KIE_ADMIN_PWD
                value: usetheforce123@
              - name: HTTPS_NAME
                value: jboss
              - name: HTTPS_PASSWORD
                value: mykeystorepass
            keystoreSecret: kie-app-secret
            replicas: 1
          servers:       - build:           gitSource:             contextDir: definition-project
                  reference: master
                  uri: >-
                    http://gogs-js-debug-6146.apps.production.rhba.openshift-psi.rhocf-dev.net:80/root/KieServerS2iAmqJbpmRepository-f78c.git
                kieServerContainerDeployment: 'cont-id=org.kie.server.testing:definition-project:1.0.0.Final'
              env:           - name: KIE_ADMIN_USER
                  value: yoda
                - name: KIE_ADMIN_PWD
                  value: usetheforce123@
                - name: HTTPS_NAME
                  value: jboss
                - name: HTTPS_PASSWORD
                  value: mykeystorepass
              jms:           amqKeystoreName: broker.ks
                amqKeystorePassword: changeit
                amqSecretName: amq-app-secret
                amqTruststoreName: broker.ts
                amqTruststorePassword: changeit
                enableIntegration: true
                password: usetheforce123@
                username: yoda
              keystoreSecret: kie-app-secret
          smartRouter: {}
        useImageTags: true
      
      Show
      E.g. run following KieApp apiVersion: app.kiegroup.org/v 2 kind: KieApp metadata: name: myapp spec: commonConfig: adminPassword: usetheforce 123 @ adminUser: yoda environment: rhpam-production-immutable objects: console: env: - name: KIE_ADMIN_USER value: yoda - name: KIE_ADMIN_PWD value: usetheforce 123 @ - name: HTTPS_NAME value: jboss - name: HTTPS_PASSWORD value: mykeystorepass keystoreSecret: kie-app-secret replicas: 1 servers: - build: gitSource: contextDir: definition-project reference: master uri: >- http://gogs-js-debug- 6146 .apps.production.rhba.openshift-psi.rhocf-dev.net: 80 /root/KieServerS 2 iAmqJbpmRepository-f 78 c.git kieServerContainerDeployment: 'cont-id=org.kie.server.testing:definition-project: 1 . 0 . 0 .Final' env: - name: KIE_ADMIN_USER value: yoda - name: KIE_ADMIN_PWD value: usetheforce 123 @ - name: HTTPS_NAME value: jboss - name: HTTPS_PASSWORD value: mykeystorepass jms: amqKeystoreName: broker.ks amqKeystorePassword: changeit amqSecretName: amq-app-secret amqTruststoreName: broker.ts amqTruststorePassword: changeit enableIntegration: true password: usetheforce 123 @ username: yoda keystoreSecret: kie-app-secret smartRouter: {} useImageTags: true
    • ---
    • ---

      Kie Server with enabled JMS integration is missing after start-up configuration for AMQ. In Kie Server logs can be seen messages for awaiting to create queue and amq attempts to reconnect.
      Then there is infinite loop with not clear message:

      WARN  [org.apache.activemq.artemis.ra] (default-threads - 1) AMQ153005: Unable to retrieve ${0} from JNDI. Creating a new ${1} named ${2} to be used by the MDB.
      

      Full log can be found in attachment of this jira ( kie-server-with-jms.log )

      Also I run 7.9.1 to compare standalone-openshift.xml files with 7.10.0. In 7.10.0 we are missing the whole configuration for amq. See standalone-openshift-791cr3.xml and standalone-openshift-7100cr1.xml .

              rhn-support-fspolti Filippe Spolti
              jakubschwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: