Hi Gerhard,

no problem, i will post more details and my test project this evening.

Best regards,
Thomas

--- Gerhard Petracek <[email protected]> schrieb am Mi, 15.6.2011:

Von: Gerhard Petracek <[email protected]>
Betreff: Re: OWB with Seam?
An: [email protected]
Datum: Mittwoch, 15. Juni, 2011 11:36 Uhr

hi thomas,
please provide more details - e.g. the dependency problems you saw, modules you 
are using,...
regards,gerhard

http://www.irian.at



Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2011/6/15 Thomas Andraschko <[email protected]>


Hi,

i tried to get Seam running on OWB. After same dependency problems (which only 
occurs with OWB) and some small fixes on Seam, i finally get following 
exception:



org.apache.webbeans.exception.definition.DuplicateDefinitionException: 
PassivationCapable bean id is not unique: PRODUCERFIELD#interface 
java.util.List#@javax.enterprise.inject.Any(),@javax.enterprise.inject.Default(),
 bean:Name:null,WebBeans Type:PRODUCERFIELD,API 
Types:[java.util.List,java.lang.Iterable,java.util.Collection,java.lang.Object],Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]


        at 
org.apache.webbeans.container.BeanManagerImpl.addPassivationInfo(BeanManagerImpl.java:398)
        at 
org.apache.webbeans.container.BeanManagerImpl.addInternalBean(BeanManagerImpl.java:370)
        at
 org.apache.webbeans.container.BeanManagerImpl.addBean(BeanManagerImpl.java:357)
        at 
org.apache.webbeans.util.WebBeansUtil.defineManagedBean(WebBeansUtil.java:2696)
        at 
org.apache.webbeans.config.BeansDeployer.defineManagedBean(BeansDeployer.java:857)


        at 
org.apache.webbeans.config.BeansDeployer.deploySingleAnnotatedType(BeansDeployer.java:538)
        at 
org.apache.webbeans.config.BeansDeployer.deployFromClassPath(BeansDeployer.java:483)
        at 
org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:164)


        at 
org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:124)
        at 
org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:77)
        at 
org.apache.webbeans.servlet.WebBeansConfigurationListener.contextInitialized(WebBeansConfigurationListener.java:81)


        at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
        at
 org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
        at 
org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)


        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)


        at java.lang.Thread.run(Thread.java:662)

How can i find the problem?
Did anyone tried Seam with OWB before?

Thanks and best regards,
Thomas




Reply via email to