-
Bug
-
Resolution: Done
-
Major
-
7.0.0.GA
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.
- is blocked by
-
WFMP-49 Default packaging types links ejb projects to a mave-plugin project which is ignored by default
- Resolved
- is caused by
-
JBEAP-5383 Missing wildlfy-plugin version in inter-app shared module
- Verified