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

An immutable KIE container is not deployed with auto scan in SpringBoot kie-server after upgrading to 7.13.1

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Release Notes
    • Workaround Exists
    • Hide

      Disable auto scan and specify deployments explicitly:

       

      kieserver.classPathContainer=true
      kieserver.autoScanDeployments=false
      kieserver.deployments[0].alias=kcontainer
      kieserver.deployments[0].containerId=kcontainer
      kieserver.deployments[0].artifactId=business-application-kjar
      kieserver.deployments[0].groupId=com.company
      kieserver.deployments[0].version=1.0-SNAPSHOT
      

      Or run as "exploded"  installation of SpringBoot kie server:

       

      java -Djarmode=layertools -jar FAT-JAR.jar extract; \
      java -Dorg.kie.maven.resolver.folder=application -jar FAT-JAR.jar
      

       

      Show
      Disable auto scan and specify deployments explicitly:   kieserver.classPathContainer=true kieserver.autoScanDeployments=false kieserver.deployments[0].alias=kcontainer kieserver.deployments[0].containerId=kcontainer kieserver.deployments[0].artifactId=business-application-kjar kieserver.deployments[0].groupId=com.company kieserver.deployments[0].version=1.0-SNAPSHOT Or run as "exploded"  installation of SpringBoot kie server:   java -Djarmode=layertools -jar FAT-JAR.jar extract; \ java -Dorg.kie.maven.resolver.folder=application -jar FAT-JAR.jar  
    • Hide

      In attached reproducer (reproducer2.zip), when executing 'run_OK.sh' at the top directory in the archive,  the following kie container will be deployed.
      (please stop this by CTRL+C)
      .

      2023-09-13 01:16:00.936  INFO 6959 — [           main] o.k.s.services.impl.ContainerManager     : About to install containers on kie server
      KieServer

      Unknown macro: {id='rhtest'name='business-application-service'version='7.67.0.Final-redhat-00008'location='[http}

      :
      {*}KieContainerResource [containerId=business-application-kjar-7.67.0.Final-redhat-00008, releaseId=com.company:business-application-kjar:7.67.0.Final-redhat-00008, resolvedReleaseId=com.company:business-application-kjar:7.67.0.Final-redhat-00008, status=STARTED{*}]

       
      But when executing run_NG.sh, no kie container will be deployed like :
       

      2023-09-13 01:21:37.809  INFO 7749 — [           main] o.k.s.services.impl.ContainerManager     : About to install containers on kie server
      KieServer

      Unknown macro: {id='rhtest'name='business-application-service'version='7.67.0.Final-redhat-00017'location='[http}

      :

      Show
      In attached reproducer (reproducer2.zip), when executing 'run_OK.sh' at the top directory in the archive,  the following kie container will be deployed. (please stop this by CTRL+C) . 2023-09-13 01:16:00.936  INFO 6959 — [           main] o.k.s.services.impl.ContainerManager     : About to install containers on kie server KieServer Unknown macro: {id='rhtest'name='business-application-service'version='7.67.0.Final-redhat-00008'location='[http} : {*}KieContainerResource [containerId=business-application-kjar-7.67.0.Final-redhat-00008, releaseId=com.company:business-application-kjar:7.67.0.Final-redhat-00008, resolvedReleaseId=com.company:business-application-kjar:7.67.0.Final-redhat-00008, status=STARTED{*}]   But when executing run_NG.sh, no kie container will be deployed like :   2023-09-13 01:21:37.809  INFO 7749 — [           main] o.k.s.services.impl.ContainerManager     : About to install containers on kie server KieServer Unknown macro: {id='rhtest'name='business-application-service'version='7.67.0.Final-redhat-00017'location='[http} :
    • ---
    • ---

    Description

      According to  the document ,  an immutable KIE container has been deployed with a kjar included in kie server SpringBoot fat-jar  by using auto scan like the following configuration.

       

      kieserver.classPathContainer=true
      kieserver.autoScanDeployments=true

       

      This works with version 7.13.0 but it does not after upgrading to 7.13.1 and later.

      This looks like regression due to the new feature:

      2.8.1. Support for exploded installation of Spring Boot business automation applications

      Attachments

        Issue Links

          Activity

            People

              gmunozfe@redhat.com Gonzalo Muñoz Fernández
              rhn-support-hmiura Hiroko Miura
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: