[
https://issues.apache.org/jira/browse/OWB-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404388#comment-15404388
]
Robert F. Peake commented on OWB-1138:
--------------------------------------
Many thanks for your prompt response.
I have tried building my app using OWB 1.6.4-SNAPSHOT. I now get
additional warnings following the junit warnings followed by a new
DupicateDefinitionException:
WARNING: Interceptor class :
org.apache.deltaspike.security.impl.extension.SecurityInterceptor is
already defined
Aug 02, 2016 9:10:50 AM org.apache.webbeans.config.BeansDeployer
configureInterceptors
WARNING: Interceptor class :
org.apache.deltaspike.core.impl.throttling.ThrottledInterceptor is already
defined
Aug 02, 2016 9:10:50 AM org.apache.webbeans.config.BeansDeployer
configureInterceptors
WARNING: Interceptor class :
org.apache.deltaspike.core.impl.lock.LockedInterceptor is already defined
Aug 02, 2016 9:10:50 AM org.apache.webbeans.config.BeansDeployer
configureInterceptors
WARNING: Interceptor class :
org.apache.deltaspike.core.impl.future.FutureableInterceptor is already
defined
Aug 02, 2016 9:10:50 AM org.apache.webbeans.config.BeansDeployer
configureInterceptors
WARNING: Interceptor class :
org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor is
already defined
Aug 02, 2016 9:10:50 AM org.apache.webbeans.config.BeansDeployer
configureInterceptors
WARNING: Interceptor class :
org.apache.deltaspike.jsf.impl.config.view.navigation.NavigationParameterInterceptor
is already defined
Aug 02, 2016 9:10:50 AM org.apache.webbeans.config.BeansDeployer
configureInterceptors
WARNING: Interceptor class :
org.apache.deltaspike.jsf.impl.config.view.navigation.NavigationParameterListInterceptor
is already defined
Aug 02, 2016 9:10:50 AM org.apache.webbeans.config.BeansDeployer
configureInterceptors
WARNING: Interceptor class :
org.apache.deltaspike.proxy.util.EnableInterceptorsInterceptor is already
defined
Exception in thread "main"
org.apache.webbeans.exception.DuplicateDefinitionException:
PassivationCapable bean id is not unique: PRODUCERMETHOD#class
javax.faces.flow.builder.FlowBuilder#.
This seems similar to OWB-558 involving a duplicate PRODUCERFIELD#interface.
Oddly, if I disable (comment out) com.sun.faces jsf-impl in my pom, the
DuplicateDefinitionException is not thrown and "INFO: All injection points
were validated successfully" appears after the"
EnableInterceptorsInterceptor is already defined" warning. The build then
proceeds starting both the OWB container and embedded Tomcat until "SEVERE:
Unable to obtain InjectionProvider from init time FacesContext. Does this
container implement the Mojarra Injection SPI?" Navigating to the the
browser page then throws an HTTP 500 error.
I hope this helps. If I can supply any further information (pom,
configuration files, etc.), just let me know.
On Tue, Aug 2, 2016 at 12:01 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)