-
Bug
-
Resolution: Done
-
Major
-
27.0.1.Final, 28.0.0.Beta1
-
None
See
https://github.com/BerndMuller/concurrency
Example from Concurrency JavaDoc throws
21:47:12,507 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."managed-executor-service.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."managed-executor-service.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "managed-executor-service.war"
at org.jboss.as.server@19.0.1.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189)
at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.IllegalArgumentException: WFLYEE0047: Incompatible conflicting binding at java:module/concurrent/MyExecutor source: lookup (java:comp/DefaultManagedExecutorService)
at org.jboss.as.ee@27.0.1.Final//org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:283)
at org.jboss.as.ee@27.0.1.Final//org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:202)
at org.jboss.as.server@19.0.1.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
... 8 more
21:47:12,510 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "managed-executor-service.war")]) - failure description: {
"WFLYCTL0080: Failed services" =>
,
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"managed-executor-service.war\".WeldStartService",
"jboss.deployment.unit.\"managed-executor-service.war\".beanmanager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.deployment.unit.\"managed-executor-service.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"managed-executor-service.war\".WeldStartService, jboss.deployment.unit.\"managed-executor-service.war\".beanmanager]",
"jboss.deployment.unit.\"managed-executor-service.war\".batch.artifact.factory is missing [jboss.deployment.unit.\"managed-executor-service.war\".beanmanager]"