@Romain any suggestions?

2014-09-03 23:59 GMT-05:00 Romain Manni-Bucau <[email protected]>:

> Surely right if mf is in the ear and not the war but not a bug neither
> Le 3 sept. 2014 22:16, "José Luis Cetina" <[email protected]> a écrit :
>
> > This was the Last response from Leonardo:
> >
> > Hi
> >
> > It looks like something not directly related to MyFaces, it is like if
> > the classpath is scanned twice, or like the bean is subscribed twice.
> > I suppose it is a bug in OWB or in TomEE. Maybe you should report it
> > in:
> >
> > https://issues.apache.org/jira/browse/TOMEE
> >
> > regards,
> >
> > Leonardo Uribe
> >
> > 2014/1/15 José Luis Cetina <[email protected]>:
> >  El 03/09/2014 15:55, "Howard W. Smith, Jr." <[email protected]>
> > escribió:
> >
> > > Does Leonardo follow this list when people discuss MyFaces (2.2)? I
> think
> > > Mark Struberg monitors this list when MyFaces is discussed here.
> > >
> > > José, it will definitely be good to post this issue on the myfaces user
> > > list.
> > >
> > >
> > >
> > >
> > > On Wed, Sep 3, 2014 at 4:50 PM, Romain Manni-Bucau <
> > [email protected]>
> > > wrote:
> > >
> > > > think so but more a MF issue this time I think
> > > >
> > > >
> > > > Romain Manni-Bucau
> > > > Twitter: @rmannibucau
> > > > Blog: http://rmannibucau.wordpress.com/
> > > > LinkedIn: http://fr.linkedin.com/in/rmannibucau
> > > > Github: https://github.com/rmannibucau
> > > >
> > > >
> > > > 2014-09-03 22:27 GMT+02:00 José Luis Cetina <[email protected]>:
> > > > > Hi, i was trying to use MyFaces 2.2.4 with TomEE 1.7.0 JAX-RS,
> > > > > finally i remove all CODI sttuf from my webapp, i want to use
> myfaces
> > > > 2.2.4
> > > > > because i want to use the @javax.faces.view.ViewScoped (i use the
> > > > omnifaces
> > > > > viewscoped) and the f:viewAction.
> > > > >
> > > > > But again im getting
> > > > javax.enterprise.inject.AmbiguousResolutionException:
> > > > > Ambiguous resolution exception that i reported a few months ago,
> > > > apparently
> > > > > myfaces 2.2.4 is not working with ears in tomee 1.7.0
> > > > >
> > > > >
> > > > >
> > > > > 2014-01-15 21:54 GMT-06:00 Howard W. Smith, Jr. <
> > > [email protected]
> > > > >:
> > > > >
> > > > >> Is it working for you, now?
> > > > >> On Jan 15, 2014 6:00 PM, "José Luis Cetina" <[email protected]
> >
> > > > wrote:
> > > > >>
> > > > >> > I will try right now
> > > > >> >
> > > > >> >
> > > > >> > 2014/1/15 Romain Manni-Bucau <[email protected]>
> > > > >> >
> > > > >> > > Hi
> > > > >> > >
> > > > >> > > Fo you get it on trunk as well?
> > > > >> > >
> > > > >> > > Le mercredi 15 janvier 2014, José Luis Cetina <
> > > [email protected]>
> > > > a
> > > > >> > > écrit :
> > > > >> > > > Hi. I use TomEE 1.6.0 Final release with myfaces 2.1.13 and
> > jdk
> > > > 1.7
> > > > >> > with
> > > > >> > > > this i was using the org.omnifaces.cdi.ViewScoped annotation
> > > with
> > > > any
> > > > >> > > > problem, with the new release of myfaces 2.2.0 i decide to
> > > change
> > > > >> > > > from org.omnifaces.cdi.ViewScoped to
> > javax.faces.view.ViewScoped
> > > > then
> > > > >> > im
> > > > >> > > > gettin this AmbiguousResolutionException.
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > This error only happend in Linux environment, if i run the
> > same
> > > > >> project
> > > > >> > > in
> > > > >> > > > Windows this error never appears.
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > I removed my faces 2.1.13 jars (api and imp) from tomee lib
> > and
> > > > add
> > > > >> > > myfaces
> > > > >> > > > api and impl 2.2.0
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > What could be wrong?
> > > > >> > > >
> > > > >> > > > Log:
> > > > >> > > >
> > > > >> > > > javax.enterprise.inject.AmbiguousResolutionException:
> > Ambiguous
> > > > >> > > resolution
> > > > >> > > > found beans:
> > > > >> > > > ViewScopeBeanHolder, Name:null, WebBeans Type:MANAGED, API
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> Types:[java.io.Serializable,java.lang.Object,org.apache.myfaces.cdi.view.ViewScopeBeanHolder],
> > > > >> > > >
> > > > >> >
> > > >
> > Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
> > > > >> > > > from
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> jar:file:/home/broncos/apache/tomee/apache-tomee-jaxrs-1.6.0/lib/myfaces-impl-2.2.0.jar!/org/apache/myfaces/cdi/view/ViewScopeBeanHolder.class
> > > > >> > > > ViewScopeBeanHolder, Name:null, WebBeans Type:MANAGED, API
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> Types:[java.io.Serializable,java.lang.Object,org.apache.myfaces.cdi.view.ViewScopeBeanHolder],
> > > > >> > > >
> > > > >> >
> > > >
> > Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
> > > > >> > > > from
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> jar:file:/home/broncos/apache/tomee/apache-tomee-jaxrs-1.6.0/lib/myfaces-impl-2.2.0.jar!/org/apache/myfaces/cdi/view/ViewScopeBeanHolder.class
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionExceptionForBeans(InjectionExceptionUtil.java:104)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionException(InjectionExceptionUtil.java:94)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionException(InjectionExceptionUtil.java:71)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.webbeans.container.InjectionResolver.resolve(InjectionResolver.java:699)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.webbeans.container.BeanManagerImpl.resolve(BeanManagerImpl.java:925)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.webbeans.container.InjectableBeanManager.resolve(InjectableBeanManager.java:201)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.myfaces.cdi.util.BeanProvider.getContextualReference(BeanProvider.java:413)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.myfaces.cdi.util.BeanProvider.getContextualReference(BeanProvider.java:144)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.myfaces.cdi.impl.CDIManagedBeanHandlerImpl.getViewScopeBeanHolder(CDIManagedBeanHandlerImpl.java:64)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.myfaces.cdi.impl.CDIManagedBeanHandlerImpl.generateViewScopeId(CDIManagedBeanHandlerImpl.java:92)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.myfaces.view.ViewScopeProxyMap.getWrapped(ViewScopeProxyMap.java:76)
> > > > >> > > >
> > > > >> > >
> > > > >>
> > > >
> > org.apache.myfaces.view.ViewScopeProxyMap.size(ViewScopeProxyMap.java:89)
> > > > >> > > >
> > > > >> > javax.faces.component.UIViewRoot.saveState(UIViewRoot.java:1498)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:846)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.myfaces.renderkit.ErrorPageWriter.debugHtml(ErrorPageWriter.java:351)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.myfaces.renderkit.ErrorPageWriter.handle(ErrorPageWriter.java:470)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.apache.myfaces.context.MyFacesExceptionHandlerWrapperImpl.handle(MyFacesExceptionHandlerWrapperImpl.java:301)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> javax.faces.context.ExceptionHandlerWrapper.handle(ExceptionHandlerWrapper.java:61)
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> org.omnifaces.exceptionhandler.FullAjaxExceptionHandler.handle(FullAjaxExceptionHandler.java:162)
> > > > >> > > >
> > > > >> > >
> > > > >>
> > > >
> > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:287)
> > > > >> > > >
> > > > >>  javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> > > > >> > > >
> > > > >> > >
> > > > >> > > --
> > > > >> > > *Romain Manni-Bucau*
> > > > >> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > >> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > >> > > http://rmannibucau.wordpress.com/>
> > > > >> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau
> > > > >> > > <http://fr.linkedin.com/in/rmannibucau>*
> > > > >> > > *Github: https://github.com/rmannibucau <
> > > > >> https://github.com/rmannibucau
> > > > >> > >*
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> >
> > -------------------------------------------------------------------
> > > > >> > *SCJA. José Luis Cetina*
> > > > >> >
> > -------------------------------------------------------------------
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > -------------------------------------------------------------------
> > > > > *José Luis Cetina*
> > > > > -------------------------------------------------------------------
> > > >
> > >
> >
>



-- 
-------------------------------------------------------------------
*José Luis Cetina*
-------------------------------------------------------------------

Reply via email to