Uploaded image for project: 'KIE Cloud'
  1. KIE Cloud
  2. KIECLOUD-49

quickstart hello-rules-multi-module is not working with PAM/DM kieserver image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0.GA
    • 7.2.0.GA
    • RHDM, RHPAM
    • None

      the multi-module s2i builds are failing with this message:

      INFO Copying deployments from hellorules/target to /deployments...
      '/tmp/src/hellorules/target/rhdm-kieserver-hellorules-1.4.0-SNAPSHOT.jar' -> '/deployments/rhdm-kieserver-hellorules-1.4.0-SNAPSHOT.jar'
      '/tmp/src/hellorules/target/rhdm-kieserver-hellorules-1.4.0-SNAPSHOT-sources.jar' -> '/deployments/rhdm-kieserver-hellorules-1.4.0-SNAPSHOT-sources.jar'
      INFO Copying deployments from hellorules-model/target to /deployments...
      '/tmp/src/hellorules-model/target/rhdm-kieserver-hellorules-model-1.4.0-SNAPSHOT-sources.jar' -> '/deployments/rhdm-kieserver-hellorules-model-1.4.0-SNAPSHOT-sources.jar'
      '/tmp/src/hellorules-model/target/rhdm-kieserver-hellorules-model-1.4.0-SNAPSHOT.jar' -> '/deployments/rhdm-kieserver-hellorules-model-1.4.0-SNAPSHOT.jar'
      INFO Copying deployments from deployments to /deployments...
      cp: cannot overwrite directory '/deployments/ROOT.war' with non-directory
      Aborting due to error code 123 from parent eap assembly phase
      

      This happens because the hello-rules-client is configured to generate a ROOT.war file and the builder image (rhpam/dm-kieserver-openshift) already have the kieserver.war with this name.

              rhn-support-fspolti Filippe Spolti
              rhn-support-fspolti Filippe Spolti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: