-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.ER3
-
None
-
Regression
-
-
-
-
-
-
Upon attempting to deploy app-client quickstart to EAP 7.1.0.ER3 by Maven WildFly plugin as described in readme file, the following failure message is produced:
mvn clean install wildfly:deploy
[INFO] --- wildfly-maven-plugin:1.2.0.Alpha6:deploy (default-cli) @ app-client-ear --- Jul 31, 2017 5:01:36 PM org.jboss.remoting3.EndpointImpl <clinit> INFO: JBoss Remoting version 5.0.0.CR1 Jul 31, 2017 5:01:36 PM org.xnio.Xnio <clinit> INFO: XNIO version 3.5.0.CR1 Jul 31, 2017 5:01:36 PM org.xnio.nio.NioXnio <clinit> INFO: XNIO NIO Implementation Version 3.5.0.CR1 Jul 31, 2017 5:01:36 PM org.wildfly.security.Version <clinit> INFO: ELY00001: WildFly Elytron version 1.1.0.Beta54 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] JBoss EAP Quickstart: Quickstart: app-client ....... SUCCESS [12:07 min] [INFO] JBoss EAP Quickstart: app-client - ejb ............. SUCCESS [01:07 min] [INFO] JBoss EAP Quickstart: app-client - client-simple ... SUCCESS [01:05 min] [INFO] JBoss EAP Quickstart: app-client - ear ............. FAILURE [ 7.105 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16:48 min [INFO] Finished at: 2017-07-31T17:01:38+00:00 [INFO] Final Memory: 59M/295M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.2.0.Alpha6:deploy (default-cli) on project app-client-ear: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.ejb3.ejbClientContext.deployment.\"app-client.ear\"" => "Failed to start service [ERROR] Caused by: java.lang.IllegalStateException"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean","jboss.deployment.unit.\"app-client.ear\".beanmanager","jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".beanmanager","jboss.deployment.subunit.\"app-client.ear\".\"simpleClient.jar\".beanmanager"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"app-client.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"app-client.ear\".beanmanager]","jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.InstanceName is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]","jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".beanmanager]","jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".beanmanager]","jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.ValidatorFactory is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]","jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.InAppClientContainer is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]","jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.Validator is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]","jboss.deployment.subunit.\"app-client.ear\".\"simpleClient.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"app-client.ear\".\"simpleClient.jar\".beanmanager]"]}}}
The server log reads out the following
server.log
2017-07-31 17:01:37,146 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "app-client.ear" (runtime-name: "app-client.ear") 2017-07-31 17:01:37,306 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0207: Starting subdeployment (runtime-name: "ejb.jar") 2017-07-31 17:01:37,307 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0207: Starting subdeployment (runtime-name: "simpleClient.jar") 2017-07-31 17:01:37,604 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment app-client.ear 2017-07-31 17:01:37,661 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-2) HV000001: Hibernate Validator 5.3.5.Final-redhat-1 2017-07-31 17:01:37,803 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.ejb3.ejbClientContext.deployment."app-client.ear": org.jboss.msc.service.StartException in service jboss.ejb3.ejbClientContext.deployment."app-client.ear": Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalStateException at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47) at org.jboss.as.ejb3.remote.EJBClientContextService.start(EJBClientContextService.java:101) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955) ... 3 more 2017-07-31 17:01:37,823 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment simpleClient.jar 2017-07-31 17:01:37,836 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment ejb.jar 2017-07-31 17:01:37,842 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'StatelessSessionBean' in deployment unit 'subdeployment "ejb.jar" of deployment "app-client.ear"' are as follows: java:global/app-client/ejb/StatelessSessionBean!org.jboss.as.quickstarts.appclient.server.ejb.StatelessSession java:app/ejb/StatelessSessionBean!org.jboss.as.quickstarts.appclient.server.ejb.StatelessSession java:module/StatelessSessionBean!org.jboss.as.quickstarts.appclient.server.ejb.StatelessSession java:jboss/exported/app-client/ejb/StatelessSessionBean!org.jboss.as.quickstarts.appclient.server.ejb.StatelessSession java:global/app-client/ejb/StatelessSessionBean java:app/ejb/StatelessSessionBean java:module/StatelessSessionBean 2017-07-31 17:01:38,095 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final-redhat-1 2017-07-31 17:01:38,449 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: Started client-mappings cache from ejb container 2017-07-31 17:01:38,523 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 8) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "app-client.ear")]) - failure description: { "WFLYCTL0080: Failed services" => {"jboss.ejb3.ejbClientContext.deployment.\"app-client.ear\"" => "Failed to start service Caused by: java.lang.IllegalStateException"}, "WFLYCTL0412: Required services that are not installed:" => [ "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean", "jboss.deployment.unit.\"app-client.ear\".beanmanager", "jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".beanmanager", "jboss.deployment.subunit.\"app-client.ear\".\"simpleClient.jar\".beanmanager" ], "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.deployment.unit.\"app-client.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"app-client.ear\".beanmanager]", "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.InstanceName is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]", "jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".beanmanager]", "jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".beanmanager]", "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.ValidatorFactory is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]", "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.InAppClientContainer is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]", "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.Validator is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]", "jboss.deployment.subunit.\"app-client.ear\".\"simpleClient.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"app-client.ear\".\"simpleClient.jar\".beanmanager]" ] } 2017-07-31 17:01:38,526 ERROR [org.jboss.as.server] (management-handler-thread - 8) WFLYSRV0021: Deploy of deployment "app-client.ear" was rolled back with the following failure message: { "WFLYCTL0080: Failed services" => {"jboss.ejb3.ejbClientContext.deployment.\"app-client.ear\"" => "Failed to start service Caused by: java.lang.IllegalStateException"}, "WFLYCTL0412: Required services that are not installed:" => [ "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean", "jboss.deployment.unit.\"app-client.ear\".beanmanager", "jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".beanmanager", "jboss.deployment.subunit.\"app-client.ear\".\"simpleClient.jar\".beanmanager" ], "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.deployment.unit.\"app-client.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"app-client.ear\".beanmanager]", "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.InstanceName is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]", "jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".beanmanager]", "jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"app-client.ear\".\"ejb.jar\".beanmanager]", "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.ValidatorFactory is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]", "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.InAppClientContainer is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]", "jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean.Validator is missing [jboss.naming.context.java.comp.app-client.ejb.StatelessSessionBean]", "jboss.deployment.subunit.\"app-client.ear\".\"simpleClient.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"app-client.ear\".\"simpleClient.jar\".beanmanager]" ] } 2017-07-31 17:01:38,546 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: simpleClient.jar) in 18ms 2017-07-31 17:01:38,547 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: ejb.jar) in 19ms 2017-07-31 17:01:38,549 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment app-client.ear (runtime-name: app-client.ear) in 22ms
- is caused by
-
JBEAP-12464 Can't deploy a deployment containing an org.jboss.ejb.client.EJBClientInterceptor registered using ServiceLoader
- Closed