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.
> -- 

Reply via email to