openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: OWB with Seam?
Date Wed, 15 Jun 2011 11:35:37 GMT
Hi!

I remember that I fixed a similar error a few weeks ago. Can you please try if it works with
the latest snapshot version?

txs and LieGrue,
strub


--- On Wed, 6/15/11, Gerhard Petracek <gerhard.petracek@gmail.com> wrote:

From: Gerhard Petracek <gerhard.petracek@gmail.com>
Subject: Re: OWB with Seam?
To: user@openwebbeans.apache.org
Date: Wednesday, June 15, 2011, 9:52 AM

hi thomas,
if you provide a test-project, please upload it to an external location (e.g. a public repository)
and just send a link to it.
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 <tommygrassman@yahoo.de>


Hi Gerhard,

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

Best regards,
Thomas



--- Gerhard Petracek <gerhard.petracek@gmail.com> schrieb am Mi, 15.6.2011:



Von: Gerhard Petracek <gerhard.petracek@gmail.com>
Betreff: Re: OWB with Seam?
An: user@openwebbeans.apache.org


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 <tommygrassman@yahoo.de>




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










Mime
View raw message