>>>>> On Tue, 22 Jun 2010 18:19:55 +0400, Huksley <huksley_at_sdot.ru> said:
RG> I have recently tried to use Groovy 1.7.3 with JSF2 (Mojarra 2.0.2)
RG> and Tomcat 6.0.26
RG> following instructions outlined in
RG>
http://blogs.sun.com/rlubke/entry/groovy_mojarra
RG> I have found that it is not working.
RG> Besides obvious problem not having FacesContext in Filter class
RG> (com.sun.faces.scripting.GroovySupportFilter),
RG> there is problems with class loader overriding -
>> java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.render.RenderKitFactory
>> Bean or property class sample.SimpleBean for managed bean bean cannot be found.
RG> As far as I understand, Mojarra dislikes being initialized with one
RG> classloader, and then invoked as FacesServlet with another.
RG> The only solution I found is to override classloader at the
RG> application server level (by specifying application server specific
RG> ClassLoader instance).
RG> Can be this Groovy support be updated to work with JSF2? This is
RG> really good feature for development purposes.
It's a bug.
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1655
I'm targeted to fix it to hit the milestone in my .sig below.
Ed
--
| edburns_at_oracle.com | office: +1 407 458 0017
| homepage: | http://ridingthecrest.com/
| 13 Work Days Til JSF 2.1 Milestone 1