basically you can use owb with glassfish. however, as far as i know you
can't disable weld easily. -> owb would be used but you would have two cdi
containers up and running.

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/2 oversteer <[email protected]>

>
> Thanks for your reply. I appreciate the position of CODI, I see it as
> analagous to
> Seam, I think that's roughly correct.
>
> I'm very interested in OpenWebBeans, I've seen some performance figures and
> on the basis of them alone it looks like something worth using. The issue
> is, can
> I run it on glassfish? My current understanding which could be entirely
> wrong is
> no. Thinking about it, I'm really very interested in this.
>
> I see that there's a weld 1.1.2 release but glassfish requires the
> weld-osgi-bundle
> which doesn't seem to be available. I suppose I could build from source but
> we've
> got a lot of application to develop and need to stick to core(ish)
> responsibilities as
> far as possible, or the job ain't gonna get done. That code won't write
> itself.
>
> I'll try and find some time to give a 3.1.2 nightly a test, we couldn't get
> the 3.1.1
> FCS working, and generally require a stable development environment as you
> would
> expect.
>
> Thanks again.
>
>
> struberg wrote:
> >
> > Hi oversteer!
> >
> > Glad you find CODI helpful!
> > There are a few comments I'd like to make
> >
> > 1.) CODI is an Apache MyFaces subproject, but not tied to the MyFaces JSF
> > impl! CODI got coded only against the jsf-api and as such also works
> > really fine with Mojarra and other JSF impls! Of course, taking the
> > MyFaces JSF implementation is never a bad idea ;)
> >
> > 2.) CODI got implemented by a few Apache OpenWebBeans CDI container
> > committers. But it's not bound to OWB neither!
> > It got tested and runs really well on JBossAS7, Weld 1.1.2 and the latest
> > Glassfish nightly builds too. Of course, OpenWebBeans is by far the
> > fastest CDI container around today ;) (that's up to > x10 faster
> > sometimes).
> >
> > The problem you most probably face is that Glassfish-3.1 got the nick
> name
> > 'Crashfish' already, due to it's lots of bugs :)
> > Otoh, once we (Matze Wessendorf and I) pointed the Glassfish team to
> those
> > bugs (and did a bit nose-rubbing on a conference and via twitter), they
> > were really quick and fixed that bugs. I tested it with their nightly
> > version and the bugs I experienced previously was gone.
> >
> > So could you please just try the lastest GF-3.2 build?
> >
> > Feel free to report back any success and also ping us if you need help
> > with the transition to MyFaces and/or OpenWebBeans ;)
> >
> > txs and LieGrue,
> > strub
> >
> > --- On Tue, 8/2/11, oversteer <[email protected]> wrote:
> >
> >> From: oversteer <[email protected]>
> >> Subject: Glassfish 3.1 could not find Factory:
> >> javax.faces.application.ApplicationFactory
> >> To: [email protected]
> >> Date: Tuesday, August 2, 2011, 12:16 PM
> >>
> >> I'm thinking of switching to MyFaces from Mojarra after
> >> being impressed with
> >> CODI
> >> and would like to run some tests.
> >>
> >> On glassfish 3.1 I've added the useMyFaces &
> >> useBundledJsf lines to
> >> sun-web.xml,
> >> and added the myfaces-bundle-2.1.1.jar to the classpath.
> >> I've also tried
> >> adding the
> >> jars individually.
> >>
> >> On deployment I get this error:
> >>
> >> SEVERE: Exception while loading the app :
> >> java.lang.IllegalStateException:
> >> ContainerBase.addChild: start:
> >> org.apache.catalina.LifecycleException:
> >> java.lang.IllegalStateException: Application was not
> >> properly initialized at
> >> startup, could not find Factory:
> >> javax.faces.application.ApplicationFactory
> >>
> >> Any ideas? I hope it's an easy one.
> >> --
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Glassfish-3.1-could-not-find-Factory%3A-javax.faces.application.ApplicationFactory-tp32177395p32178172.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to