Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-923

Unable to deploy out-of-the-box Employee Roster starter application war

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Blocker
    • Resolution: Explained
    • Affects Version/s: 7.3.0.GA
    • Fix Version/s: 7.4.0.GA
    • Component/s: OptaPlanner
    • Labels:
    • Environment:
      • RHDM 7.3.0 add-ons
         employee-rostering-distribution-7.18.0.Final-redhat-00002.war
      • EAP 7.2
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      1. install fresh EAP7.2
      2. unzip rhdm-7.3.0-add-ons.zip, and then unzip extracted rhdm73-employee-rostering.zip
      3. deploy employee-rostering-distribution-7.18.0.Final-redhat-00002/binaries/employee-rostering-webapp-7.18.0.Final-redhat-00002.war archive to EAP 7.2

      Show
      1. install fresh EAP7.2 2. unzip rhdm-7.3.0-add-ons.zip, and then unzip extracted rhdm73-employee-rostering.zip 3. deploy employee-rostering-distribution-7.18.0.Final-redhat-00002/binaries/employee-rostering-webapp-7.18.0.Final-redhat-00002.war archive to EAP 7.2
    • Sprint:
      2019 Week 17-19, 2019 Week 20-22

      Description

      When deploying the following out-of-the box war of Employee Roster starter application on EAP 7.2,

      employee-rostering-distribution-7.18.0.Final-redhat-00002/binaries/employee-rostering-webapp-7.18.0.Final-redhat-00002.war

      it fails with the following error.

      2019-04-10 17:49:50,932 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "employee-rostering-webapp-7.18.0.Final-redhat-00002.war")]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.\"${org.optaweb.employeerostering.persistence.datasource:java:jboss\".datasources.ExampleDS}"],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "jboss.persistenceunit.\"employee-rostering-webapp-7.18.0.Final-redhat-00002.war#optaweb-employee-rostering-persistence-unit\".__FIRST_PHASE__ is missing [jboss.naming.context.java.\"${org.optaweb.employeerostering.persistence.datasource:java:jboss\".datasources.ExampleDS}]",
              "jboss.persistenceunit.\"employee-rostering-webapp-7.18.0.Final-redhat-00002.war#optaweb-employee-rostering-persistence-unit\" is missing [jboss.naming.context.java.\"${org.optaweb.employeerostering.persistence.datasource:java:jboss\".datasources.ExampleDS}]"
          ]
      }
      2019-04-10 17:49:50,938 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "employee-rostering-webapp-7.18.0.Final-redhat-00002.war" (runtime-name : "employee-rostering-webapp-7.18.0.Final-redhat-00002.war")
      2019-04-10 17:49:50,939 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
            service jboss.naming.context.java."${org.optaweb.employeerostering.persistence.datasource:java:jboss".datasources.ExampleDS} (missing) dependents: [service jboss.persistenceunit."employee-rostering-webapp-7.18.0.Final-redhat-00002.war#optaweb-employee-rostering-persistence-unit".__FIRST_PHASE__, service jboss.persistenceunit."employee-rostering-webapp-7.18.0.Final-redhat-00002.war#optaweb-employee-rostering-persistence-unit"]
      

      This worked with version 7.2.'s add-ons(employee-rostering-webapp-7.14.0.Final-redhat-00002.war)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  cchianel Christopher Chianelli
                  Reporter:
                  hiroko Hiroko Miura
                  Tester:
                  Radovan Synek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: