Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10246

Required services that are not installed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 10.1.0.Final
    • None
    • Hide

      I'm currently migrating a project to wildfly-swarm, after the packaging I try to run the uberjar "module1-3.3.0-swar.jar" but I get this error.
      seems like "module1-3.3.0.war" depend on "module2D-3.3.0.ear" it should be noted that the "module2D.ear" is mentioned in webapp\META-INF\jboss-all.xml
      <jboss-deployment-dependencies xmlns=...>
      <dependency name="module2D-3.3.0.ear"/>
      </jboss-deployment-dependencies>

      Show
      I'm currently migrating a project to wildfly-swarm, after the packaging I try to run the uberjar "module1-3.3.0-swar.jar" but I get this error. seems like "module1-3.3.0.war" depend on "module2D-3.3.0.ear" it should be noted that the "module2D.ear" is mentioned in webapp\META-INF\jboss-all.xml <jboss-deployment-dependencies xmlns=...> <dependency name="module2D-3.3.0.ear"/> </jboss-deployment-dependencies>
    • Migration

      ERROR [org.jboss.as.controller.management-operation] (main) WFLYCTL0013: Operation ("add") failed - address: (("deployment" => "module1-3.3.0-SNAPSHOT.war")) - failure description: {
      "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"module2D-3.3.0-SNAPSHOT.ear\".deploymentCompleteService"],
      "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"module1-3.3.0-SNAPSHOT.war\".PARSE is missing [jboss.deployment.unit.\"module2D-3.3.0-SNAPSHOT.ear\".deploymentCompleteService]"]
      }
      [0m [31m2018-04-16 12:13:59,010 ERROR [org.jboss.as.server] (main) WFLYSRV0021: Deploy of deployment "module1-3.3.0-SNAPSHOT.war" was rolled back with the following failure message:
      {
      "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"module2D-3.3.0-SNAPSHOT.ear\".deploymentCompleteService"],
      "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"module1-3.3.0-SNAPSHOT.war\".PARSE is missing [jboss.deployment.unit.\"module2D-3.3.0-SNAPSHOT.ear\".deploymentCompleteService]"]
      }
      [0m [0m2018-04-16 12:13:59,789 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment module1-3.3.0-SNAPSHOT.war (runtime-name: module1-3.3.0-SNAPSHOT.war) in 779ms
      [0m [0m2018-04-16 12:13:59,790 INFO [org.jboss.as.controller] (main) WFLYCTL0183: Service status report
      WFLYCTL0184: New missing/unsatisfied dependencies:
      service jboss.deployment.unit."module2D-3.3.0-SNAPSHOT.ear".deploymentCompleteService (missing) dependents: [service jboss.deployment.unit."module1-3.3.0-SNAPSHOT.war".PARSE]

              bstansbe@redhat.com Brian Stansberry
              zakaee Zakaria mh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: