[
https://issues.apache.org/jira/browse/OWB-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406110#comment-15406110
]
Mark Struberg commented on OWB-1138:
------------------------------------
Robert, I'm now refactoring your app to get it running on TomEE-7.0.1. TomEE
includes OpenWebBeans as CDI container but also has a pre-packaged JSF
(MyFaces) and JPA container (OpenJPA) + JTA, JAX-RS, JAX-WS etc.
Your app will become much smaller and more portable ;)
> PassivationCapable bean id is not unique: PRODUCERMETHOD#class
> --------------------------------------------------------------
>
> Key: OWB-1138
> URL: https://issues.apache.org/jira/browse/OWB-1138
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Injection and Lookup
> Affects Versions: 1.6.2, 1.6.3
> Environment: Java 8, CDI 1.2, Deltaspike 1.7.0 servlet 3.1.0, jsf-api
> 2.2.13, Hibernate 5.1.0.Final running on embedded Tomcat 8, Netbeans 8.1 IDE
> on Windows 10.
> Reporter: Robert F. Peake
> Assignee: Mark Struberg
> Labels: newbie
> Fix For: 1.6.4
>
>
> OWB 1.6.3 throws exception in thread "main"
> org.apache.webbeans.exception.DuplicateDefinitionException:
> PassivationCapable bean id is not unique: PRODUCERMETHOD#class at
> org.apache.webbeans.container.BeanManagerImpl.addPassivationInfo(BeanManagerImpl.java:406).
> Downgrading to OWB 1.6.2 throws error reported in OWB-1101:
> AmbiguousResolutionException: There are more than one WebBeans
> with name : csfFLOWDISCOVERYCDIHELPER
> In both instances, error is thrown following WARNING: Ignoring class
> [org.apache.deltaspike.cdise.tck.control.VersionControlRule] because it could
> not be loaded with NoClassDefFoundErrors for
> org/junit/runners/model/Statement and org/junit/rules/TestRule.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)