Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5240

Quickstart inter-app does not get deployed consistently by Wildfly plugin on Maven version > 3.1.0

    XMLWordPrintable

Details

    Description

      When running mvn clean install wildfly:deploy command to deploy the inter-app quickstart to EAP with newer version of Maven than 3.1.0, the quickstart application will fail to deploy with the following:

      [INFO] 
      [INFO] <<< wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) < package @ jboss-inter-app-appA <<<
      [INFO] 
      [INFO] --- wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) @ jboss-inter-app-appA ---
      Jul 14, 2016 6:53:27 AM org.xnio.Xnio <clinit>
      INFO: XNIO version 3.2.2.Final
      Jul 14, 2016 6:53:27 AM org.xnio.nio.NioXnio <clinit>
      INFO: XNIO NIO Implementation Version 3.2.2.Final
      Jul 14, 2016 6:53:27 AM org.jboss.remoting3.EndpointImpl <clinit>
      INFO: JBoss Remoting version 4.0.3.Final
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] JBoss EAP Quickstart: inter-app .................... SUCCESS [ 21.564 s]
      [INFO] JBoss EAP Quickstart: inter-app - shared ........... SUCCESS [ 58.248 s]
      [INFO] JBoss EAP Quickstart: inter-app - appA ............. FAILURE [  4.223 s]
      [INFO] JBoss EAP Quickstart: inter-app - appB ............. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:25 min
      [INFO] Finished at: 2016-07-14T06:53:28-04:00
      [INFO] Final Memory: 31M/282M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) on project jboss-inter-app-appA: Deployment failed and was rolled back. -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :jboss-inter-app-appA

      The server produces the following:

      2016-07-14 06:53:27,978 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "jboss-inter-app-appA.war" (runtime-name: "jboss-inter-app-appA.war")
      2016-07-14 06:53:28,384 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 5) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jboss-inter-app-appA.war")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => [
          "jboss.module.service.\"deployment.jboss-inter-app-appA.war\".main is missing [module.resolved.service.\"deployment.jboss-inter-app-appA.war\".main, jboss.module.spec.service.\"deployment.jboss-inter-app-shared.jar\".main]",
          "jboss.module.resolve.phase.\"deployment.jboss-inter-app-appA.war\".main.1 is missing [jboss.module.spec.service.\"deployment.jboss-inter-app-shared.jar\".main]"
      ]}
      2016-07-14 06:53:28,386 ERROR [org.jboss.as.server] (management-handler-thread - 5) WFLYSRV0021: Deploy of deployment "jboss-inter-app-appA.war" was rolled back with the following failure message: 
      {"WFLYCTL0180: Services with missing/unavailable dependencies" => [
          "jboss.module.service.\"deployment.jboss-inter-app-appA.war\".main is missing [module.resolved.service.\"deployment.jboss-inter-app-appA.war\".main, jboss.module.spec.service.\"deployment.jboss-inter-app-shared.jar\".main]",
          "jboss.module.resolve.phase.\"deployment.jboss-inter-app-appA.war\".main.1 is missing [jboss.module.spec.service.\"deployment.jboss-inter-app-shared.jar\".main]"
      ]}
      2016-07-14 06:53:28,406 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment jboss-inter-app-appA.war (runtime-name: jboss-inter-app-appA.war) in 18ms
      2016-07-14 06:53:28,407 INFO  [org.jboss.as.controller] (management-handler-thread - 5) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
            service jboss.module.service."deployment.jboss-inter-app-appA.war".main (missing) dependents: [service jboss.deployment.unit."jboss-inter-app-appA.war".FIRST_MODULE_USE] 
            service jboss.module.spec.service."deployment.jboss-inter-app-appA.war".main (missing) dependents: [service jboss.module.service."deployment.jboss-inter-app-appA.war".main] 
            service jboss.module.spec.service."deployment.jboss-inter-app-shared.jar".main (missing) dependents: [service jboss.module.resolve.phase."deployment.jboss-inter-app-appA.war".main.1, service jboss.module.service."deployment.jboss-inter-app-appA.war".main] 
            service module.resolved.service."deployment.jboss-inter-app-appA.war".main (missing) dependents: [service jboss.module.service."deployment.jboss-inter-app-appA.war".main] 

      Same problem (independent of Maven version) is present in EAP 6 when using jboss-as:deploy to deploy the inter-app quickstart.

      Attachments

        1. 3.1.1.log
          1.27 MB
        2. 3.1.1-server.log
          18 kB
        3. sgilda_inter-app_deploy_log_7.0.GA.txt
          17 kB
        4. sgilda_inter-app_deploy_log.txt
          23 kB

        Issue Links

          Activity

            People

              sgilda_jira Sande Gilda (Inactive)
              mjurc@redhat.com Michal Jurc
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: