1 Reply Latest reply on Jul 13, 2019 1:12 PM by anton238

    Error "Required services that are not installed: jboss.security.security-domain.***" when I try to deploy web app

    anton238

      I have wildfly 17.
      I needed to do an authorization. I did it as in this guide(WildFly11).

      But when I want to deploy the application, I get an error: Required services that are not installed: jboss.security.security-domain.***

      How to fix it? If necessary, I can attach the xml files.

      Stacktrace:

      20:05:26,601 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "Bank_war_exploded")]) - failure description: {

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.security.security-domain.web-security-domain-c"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => [

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.WorkWithCardNumber.CREATE is missing [jboss.security.security-domain.web-security-domain-c]",

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.DataValidator.CREATE is missing [jboss.security.security-domain.web-security-domain-c]",

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.LogIn.CREATE is missing [jboss.security.security-domain.web-security-domain-c]",

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.Registration.CREATE is missing [jboss.security.security-domain.web-security-domain-c]",

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.WorkWithDB.CREATE is missing [jboss.security.security-domain.web-security-domain-c]"

          ]

      }

      20:05:26,603 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "Bank_war_exploded.war" was rolled back with the following failure message:

      {

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.security.security-domain.web-security-domain-c"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => [

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.WorkWithCardNumber.CREATE is missing [jboss.security.security-domain.web-security-domain-c]",

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.DataValidator.CREATE is missing [jboss.security.security-domain.web-security-domain-c]",

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.LogIn.CREATE is missing [jboss.security.security-domain.web-security-domain-c]",

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.Registration.CREATE is missing [jboss.security.security-domain.web-security-domain-c]",

              "jboss.deployment.unit.\"Bank_war_exploded.war\".component.WorkWithDB.CREATE is missing [jboss.security.security-domain.web-security-domain-c]"

          ]

      }

      20:05:26,608 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 13) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'Bank_war_exploded#PersistenceUnitJTA'

      20:05:26,610 INFO  [org.hibernate.orm.beans] (ServerService Thread Pool -- 13) HHH10005004: Stopping BeanContainer : org.hibernate.resource.beans.container.internal.CdiBeanContainerExtendedAccessImpl@10e0dd5e

      20:05:26,613 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 13) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'Bank_war_exploded#PersistenceUnitJTA'

      20:05:26,645 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment Bank_war_exploded (runtime-name: Bank_war_exploded.war) in 41ms

       

      [2019-07-13 08:05:26,694] Artifact Bank:war exploded: Error during artifact deployment. See server log for details.

      [2019-07-13 08:05:26,695] Artifact Bank:war exploded: java.lang.Exception: {"WFLYCTL0412: Required services that are not installed:" => ["jboss.security.security-domain.web-security-domain-c"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"Bank_war_exploded.war\".component.WorkWithCardNumber.CREATE is missing [jboss.security.security-domain.web-security-domain-c]","jboss.deployment.unit.\"Bank_war_exploded.war\".component.DataValidator.CREATE is missing [jboss.security.security-domain.web-security-domain-c]","jboss.deployment.unit.\"Bank_war_exploded.war\".component.LogIn.CREATE is missing [jboss.security.security-domain.web-security-domain-c]","jboss.deployment.unit.\"Bank_war_exploded.war\".component.Registration.CREATE is missing [jboss.security.security-domain.web-security-domain-c]","jboss.deployment.unit.\"Bank_war_exploded.war\".component.WorkWithDB.CREATE is missing [jboss.security.security-domain.web-security-domain-c]"]}

       

      The main part is

      Artifact Bank:war exploded: java.lang.Exception: {"WFLYCTL0412: Required services that are not installed:" => ["jboss.security.security-domain.web-security-domain-c"],

      "WFLYCTL0180: Services with missing/unavailable dependencies" =>

      ["jboss.deployment.unit.\"Bank_war_exploded.war\".component.WorkWithCardNumber.CREATE is missing

      [jboss.security.security-domain.web-security-domain-c]","jboss.deployment.unit.\"Bank_war_exploded.war\".component.DataValidator.CREATE is missing

      [jboss.security.security-domain.web-security-domain-c]","jboss.deployment.unit.\"Bank_war_exploded.war\".component.LogIn.CREATE is missing

      [jboss.security.security-domain.web-security-domain-c]","jboss.deployment.unit.\"Bank_war_exploded.war\".component.Registration.CREATE is missing

      [jboss.security.security-domain.web-security-domain-c]","jboss.deployment.unit.\"Bank_war_exploded.war\".component.WorkWithDB.CREATE is missing

      [jboss.security.security-domain.web-security-domain-c]"]}