[
https://issues.apache.org/jira/browse/DELTASPIKE-678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097112#comment-14097112
]
Martin Kouba commented on DELTASPIKE-678:
-----------------------------------------
[~pkkamos] Yep, you can't use "PicketLink Uber JAR dependency" and separate
deltaspike artifacts (core and security modules) in the same time. Either
define PicketLink modules separately (i.e. do not use uber jar) or remove
deltaspike dependencies. I think the first solution is more appropriate.
> Deployment of Deltaspike 1.0.0 fails on WILDFLY 8.1
> ---------------------------------------------------
>
> Key: DELTASPIKE-678
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-678
> Project: DeltaSpike
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0
> Environment: JBoss Dev Studio, JSE 1.6/1.7 , Wildfly 8.1
> Reporter: Paa Kojo Konduah Amos
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)