0 Replies Latest reply on Jan 22, 2016 3:53 AM by J Prasanna Venkatesan

    Getting 'Services with missing/unavailable dependencies' while deploying a war file

    J Prasanna Venkatesan Newbie

      Hi Team,

       

      I tried to deploy a war file. The deployment failed and a .failed was created under jboss/standalone/deployments/.

       

      Content of that file is

       

      "{\"JBAS014771: Services with missing/unavailable dependencies\" => [

          \"jboss.module.resolve.phase.\\\"deployment.authenticationManager.war\\\".main.1 is missing [jboss.module.spec.service.\\\"deployment.saturn.ear\\\".main]\",

          \"jboss.module.service.\\\"deployment.authenticationManager.war\\\".main is missing [jboss.module.spec.service.\\\"deployment.saturn.ear\\\".main, module.resolved.service.\\\"deployment.authenticationManager.war\\\".main]\"

      ]}"

       

      I am able to see the same error in server.log also

       

      2016-01-22 02:01:11,940 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017534: Registered web context: /sf

      2016-01-22 02:01:12,164 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "authenticationManager.war")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => [

          "jboss.module.resolve.phase.\"deployment.authenticationManager.war\".main.1 is missing [jboss.module.spec.service.\"deployment.saturn.ear\".main]",

          "jboss.module.service.\"deployment.authenticationManager.war\".main is missing [jboss.module.spec.service.\"deployment.saturn.ear\".main, module.resolved.service.\"deployment.authenticationManager.war\".main]"

      ]}

      2016-01-22 02:01:13,022 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 30) JBAS018559: Deployed "highcharts-export-web.war" (runtime-name : "highcharts-export-web.war")

      2016-01-22 02:01:13,022 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 30) JBAS018559: Deployed "authenticationManager.war" (runtime-name : "authenticationManager.war")

      2016-01-22 02:01:13,022 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 30) JBAS018559: Deployed "ldapsync.war" (runtime-name : "ldapsync.war")

      2016-01-22 02:01:13,022 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 30) JBAS018559: Deployed "teamforge.ear" (runtime-name : "teamforge.ear")

      2016-01-22 02:01:13,031 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.module.spec.service."deployment.saturn.ear".main (missing) dependents: [service jboss.module.resolve.phase."deployment.authenticationManager.war".main.1, service jboss.module.service."deployment.authenticationManager.war".main]

            service module.resolved.service."deployment.authenticationManager.war".main (missing) dependents: [service jboss.module.service."deployment.authenticationManager.war".main]

       

      2016-01-22 02:01:13,181 INFO  [org.apache.struts.tiles.TilesRequestProcessor] (default task-2) Tiles definition factory found for request processor '/sfmain'.

      2016-01-22 02:01:13,200 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

      2016-01-22 02:01:13,200 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

      2016-01-22 02:01:13,200 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started (with errors) in 171781ms - Started 11088 of 11311 services (3 services failed or missing dependencies, 355 services are lazy, passive or on-demand)

      2016-01-22 02:01:13,674 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment authenticationManager.war (runtime-name: authenticationManager.war) in 271ms

      2016-01-22 02:01:13,992 INFO  [org.jboss.ejb.client] (default task-2) JBoss EJB Client version 2.0.1.Final

      2016-01-22 02:01:14,164 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "authenticationManager.war" (runtime-name: "authenticationManager.war")

      2016-01-22 02:01:14,165 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.module.service."deployment.authenticationManager.war".main (missing) dependents: [service jboss.deployment.unit."authenticationManager.war".FIRST_MODULE_USE]

            service jboss.module.spec.service."deployment.authenticationManager.war".main (missing) dependents: [service jboss.module.service."deployment.authenticationManager.war".main]

       

      2016-01-22 02:01:19,292 INFO  [org.apache.struts.util.PropertyMessageResources] (default task-2) Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true

       

      Please through some light on this one.

       

      Thanks & Regards,

      J Prasanna Venkatesan