[ 
https://issues.apache.org/jira/browse/OWB-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406198#comment-15406198
 ] 

Robert F. Peake commented on OWB-1138:
--------------------------------------

I am very grateful.  I tried an embedded Tomee approach about a year ago
but could not find enough documentation to determine how to make it work.
I had the same problem trying to get Weld to run with embedded Tomcat.  I
well appreciate that the disadvantage of my current approach is the
conflicts that inevitably arise in applying numerous different
technologies.  I see that Tomee 7 comes complete with a ready-to-use main
class for an embedded application and, as you note, provides the necessary
enterprise web and data support.

If I can be of any assistance to your development efforts, including the
preparation of supporting documentation, let me know.  I would be happy to
return the favor.

Best wishes.

On Wed, Aug 3, 2016 at 8:51 AM, Mark Struberg (JIRA) <[email protected]>



> 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)

Reply via email to