Ok, so I´ve tried with open webbeans and codi on websphere 6.1 but I keep
ending up with:
Caused by:
org.apache.webbeans.corespi.scanner.AnnotationDB$CrossReferenceException
at
org.apache.webbeans.corespi.scanner.AnnotationDB.crossReferenceMetaAnnotations(AnnotationDB.java:173)
at
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.crossReferenceBeans(AbstractMetaDataDiscovery.java:229)
... 91 more
And later on during startup: (I guess this error could be caused by the first
one)
Caused by: java.lang.IllegalStateException: no
org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider in
place! Please ensure that you configured the CDI implementation of your choice
properly. If your setup is correct, please clear all caches and compiled
artifacts. If there is still a problem, try one of the controlled bootstrapping
add-ons for the CDI implementation you are using.
at
org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider.getInstance(BeanManagerProvider.java:79)
at
org.apache.myfaces.extensions.cdi.core.impl.util.CodiUtils.getContextualReferenceByClass(CodiUtils.java:124)
at
org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.PhaseListenerExtension.consumePhaseListeners(PhaseListenerExtension.java:111)
at
org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleFactoryWrapper.getLifecycle(CodiLifecycleFactoryWrapper.java:67)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:119)
I can´t really figure out what I´m doing wrong, are there some configuration
options I must consider?
Regards,
Hampus
-----Original Message-----
From: Hampus Wingren [mailto:[email protected]]
Sent: den 18 augusti 2011 13:52
To: MyFaces Discussion
Subject: Re: Window ID prototype, MyFaces extension
Ok,
thanks a lot, I´ll give it a try!
regards,
Hampus
On Thu, 18 Aug 2011 13:35:31 +0200, Gerhard Petracek
<[email protected]> wrote:
> hi hampus,
>
> we plan to release both codi v1.0.1 as well as owb v1.1.1 within the
> next days.
> udo (the reporter of the jira issues [1], [2]) already uses the latest
> snapshots in a java 1.5 environment.
> you can use those snapshots for the next days. you will see both
> releases earlier than a first window-id-prototype in myfaces-core
> (there is no fixed schedule for it - i'll continue with it after
> releasing codi v1.0.1).
>
> regards,
> gerhard
>
> [1] https://issues.apache.org/jira/browse/EXTCDI-198
> [2] https://issues.apache.org/jira/browse/OWB-582
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2011/8/18 Hampus Wingren <[email protected]>
>
>> hi gerhard,
>>
>> That seems like a small price to pay. Do you have a timeframe for
>> prototyping?
>>
>> I saw that´s it not a high prioritized item on the JSF 2.2 issue
>> list, do we know if it will be included?
>> I looked at apache owb but it seems to require java 6. Any other good
>> cdi implementation other than weld? Looking at the issue lists for
>> codi, it seems like weld is a major contributor to the issues.
>>
>> regards,
>> Hampus
>>
>> I looked at apache owb but it seems to be requiring java 6
>>
>> On Thu, 18 Aug 2011 13:07:41 +0200, Gerhard Petracek
>> <[email protected]> wrote:
>> > hi hampus,
>> >
>> > it might be available as a part of the myfaces specific api until
>> > it gets accepted. however, it needs to be discussed on the dev list
>> > as soon as we have a first prototype.
>> > as soon as you upgrade to jsf 2.2 you will have to refactor some
>> > parts,
>> if
>> > you are using the api manually.
>> >
>> > fyi: codi isn't bound to jee6. all you need is the cdi
>> > implementation of your choice (in case of codi v1.0.1+ and owb
>> > 1.1.1+ you can even use java
>> > 1.5)
>> >
>> > regards,
>> > gerhard
>> >
>> > http://www.irian.at
>> >
>> > Your JSF powerhouse -
>> > JSF Consulting, Development and
>> > Courses in English and German
>> >
>> > Professional Support for Apache MyFaces
>> >
>> >
>> >
>> > 2011/8/18 Hampus Wingren <[email protected]>
>> >
>> >>
>> >>
>> >> Hi,
>> >> I´ve seen that you´re doing some prototyping for window
>> >> sessions/ids for the JSF 2.2 spec. Is there any chance that you
>> >> would make that available as an extension to the MyFaces Core dist
>> >> for JSF 2.x? I think that it´s a killer feature but we don´t have
>> >> the luxury to move to JEE 6 for the CODI stuff.
>> >> Best regards,
>> >> Hampus
>>
>>