]
Brian Stansberry updated WFLY-3669:
-----------------------------------
Fix Version/s: (was: 8.1.0.Final)
Deltaspike deployment fails on wildfly 8.1
------------------------------------------
Key: WFLY-3669
URL:
https://issues.jboss.org/browse/WFLY-3669
Project: WildFly
Issue Type: Bug
Reporter: Paa Kojo Konduah Amos
Assignee: Jason Greene
on addition of the Deltaspike-core dependency in my pom.xml....wildfly 8.1 fails at
deployment time.
01:45:08,481 INFO [org.apache.deltaspike.core.util.ProjectStageProducer] (MSC service
thread 1-4) Computed the following DeltaSpike ProjectStage: Production
01:45:12,813 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001:
Failed to start service jboss.deployment.unit."jwi.war".WeldStartService:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."jwi.war".WeldStartService: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_65]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001414: Bean name is
ambiguous. Name dsWindowContext resolves to beans:
Producer Method [WindowContext] with qualifiers [@Default @Named @Any] declared as
[[BackedAnnotatedMethod] @Produces @Named @Dependent public
org.apache.deltaspike.core.impl.scope.window.WindowContextProducer.getWindowContext()],
Producer Method [WindowContext] with qualifiers [@Default @Named @Any] declared as
[[BackedAnnotatedMethod] @Produces @Named @Dependent public
org.apache.deltaspike.core.impl.scope.window.WindowContextProducer.getWindowContext()]
at org.jboss.weld.bootstrap.ConcurrentValidator$5.doWork(ConcurrentValidator.java:134)
at org.jboss.weld.bootstrap.ConcurrentValidator$5.doWork(ConcurrentValidator.java:130)
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_65]
... 3 more
01:45:12,824 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) JBAS014613: Operation ("deploy") failed - address:
([("deployment" => "jwi.war")]) - failure description:
{"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"jwi.war\".WeldStartService" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"jwi.war\".WeldStartService: Failed to start service
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001414: Bean name is
ambiguous. Name dsWindowContext resolves to beans:
Producer Method [WindowContext] with qualifiers [@Default @Named @Any] declared as
[[BackedAnnotatedMethod] @Produces @Named @Dependent public
org.apache.deltaspike.core.impl.scope.window.WindowContextProducer.getWindowContext()],
Producer Method [WindowContext] with qualifiers [@Default @Named @Any] declared as
[[BackedAnnotatedMethod] @Produces @Named @Dependent public
org.apache.deltaspike.core.impl.scope.window.WindowContextProducer.getWindowContext()]"}}
01:45:12,919 INFO [org.jboss.as.server] (ServerService Thread Pool – 28) JBAS018559:
Deployed "jwi.war" (runtime-name : "jwi.war")
01:45:12,928 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service
status report
JBAS014777: Services which failed to start: service
jboss.deployment.unit."jwi.war".WeldStartService:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."jwi.war".WeldStartService: Failed to start service