3 Replies Latest reply on Sep 7, 2011 4:28 AM by Mitja Skuhala

    migrate from 5.1.0 to 7.0.1 - Services with missing/unavailable dependencies

    vitaliy_kirichenko Newbie

      Try to migrate my app to 7.0.1.

      On 5.1.0  work fine, but during deploy on  7.0.1.  have error:

       

      19:08:23,711 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "myEAR.ear"
      19:08:30,669 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "jarOutputBuildDirectory/myApp_jobs.j
      ar"
      19:08:30,669 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "jarOutputBuildDirectory/myApp_dao.ja
      r"
      19:08:30,670 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "jarOutputBuildDirectory/myApp_core.j
      ar"
      19:08:30,669 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "jarOutputBuildDirectory/myApp_dto.ja
      r"
      19:08:30,672 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "myApp_rest.war"
      19:08:31,980 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "myAppEAR.ear" was rolled back with fai
      lure message {"Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"myAppEAR.ear\".PARSE missing [ jboss.deployme
      nt.subunit.\"myAppEAR.ear\".\"jarOutputBuildDirectory/myApp_jobs.jar\".STRUCTURE, jboss.deployment.subunit.\"myAppEAR.ear\".\"jarOu
      tputBuildDirectory/myApp_dao.jar\".STRUCTURE, jboss.deployment.subunit.\"myAppEAR.ear\".\"jarOutputBuildDirectory/myApp_core.jar\".
      STRUCTURE, jboss.deployment.subunit.\"myAppEAR.ear\".\"jarOutputBuildDirectory/myApp_dto.jar\".STRUCTURE ]"]}
      19:08:32,001 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment jarOutputBuildDirectory/myApp_core.jar in
       20ms
      19:08:32,004 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment jarOutputBuildDirectory/myApp_jobs.jar in
       24ms
      19:08:32,003 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment jarOutputBuildDirectory/myApp_dto.jar in
      23ms
      19:08:32,007 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment jarOutputBuildDirectory/myApp_dao.jar in
      27ms
      19:08:32,204 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment myApp_rest.war in 224ms
      19:08:32,384 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment myAppEAR.ear in 404ms
      19:08:32,388 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that fa
      iled:" => {"Operation step-2" => {"Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"myAppEAR.ear\".PARSE miss
      ing [ jboss.deployment.subunit.\"myAppEAR.ear\".\"jarOutputBuildDirectory/myApp_jobs.jar\".STRUCTURE, jboss.deployment.subunit.\"icele
      adsEAR.ear\".\"jarOutputBuildDirectory/myApp_dao.jar\".STRUCTURE, jboss.deployment.subunit.\"myAppEAR.ear\".\"jarOutputBuildDirectory/
      myApp_core.jar\".STRUCTURE, jboss.deployment.subunit.\"myAppEAR.ear\".\"jarOutputBuildDirectory/myApp_dto.jar\".STRUCTURE ]"]}}}
      
      

       

      Structure of my ear file:

      myEAR:

                     - harOutputBuildDirectory

                                    - my_data.har

                     - jarOutputBuildDirectory

                                      - my_jobs.jar

                                      - my_dto.jar

                                      - my_dao.jar

                                      - my_core.jar

                     - lib

                     - META-INF

                                       - MANIFEST.MF

                                       - jboss-app.xml

                                       - application.xml

                     - my_rest.war