hi brendan,

I'm using glassfish 3.1 with Mojarra and CODI (and updated weld to 1.1.1)  -
this works fine. So there would be no need to change to MyFaces - if you
just do this to use CODI of course.
regards
thomas

-----Ursprüngliche Nachricht-----
Von: oversteer [mailto:[email protected]] 
Gesendet: Dienstag, 02. August 2011 14:16
An: [email protected]
Betreff: Glassfish 3.1 could not find Factory:
javax.faces.application.ApplicationFactory


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.ap
plication.ApplicationFactory-tp32177395p32177395.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Reply via email to