[
https://issues.apache.org/jira/browse/OWB-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406578#comment-15406578
]
Mark Struberg commented on OWB-1138:
------------------------------------
You are welcome!
I've committed a move to TomEE.
And don't worry, stackoverflow is full of answers. But the problem is that
there are so many questions ;)
What I mean is that I know that it's really hard to pick the right way out of
the 30 possible ones.
You might take a look at a sample I did (a long time ago) for a big EE training
event:
https://github.com/struberg/lightweightEE/tree/jtacdi11
I don't have mysql installed (only postgres and MariaDB), so I can just blindly
start it up. But at least I get the first screen at
http://localhost:8080/siccs/judgePF.xhtml
To run the application simply type
$> mvn clean install tomee:run
(and tomee:debug for debugging)
Feel free to ping back if you have further questions.
> 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)