hi,

first of all: welcome @ myfaces!

short addition:

codi also works with glassfish v3.1.1 (without changes).

you can find an example at the glassfish31 branch of the community demo [1]
(just start your glassfish domain, the db and you have to use the jee6
profile for building the example (as mentioned in the readme)).

regards,
gerhard

[1]
http://code.google.com/a/apache-extras.org/p/myfaces-codi-examples/source/browse/?name=glassfish31#hg%2Fcommunity

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2011/8/2 Ing.Thomas Kernstock <[email protected]>

> 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