users@glassfish.java.net

Re: Glassfish v3 + Jsf 1.2 + Richfaces

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 21 Jan 2010 09:41:50 -0800

On 01/21/10 04:46 AM, glassfish_at_javadesktop.org wrote:
> Hi,
>
> I have a application with jsf 1.2, facelets 1.1.14 and Richfaces 3.3.2. I already change the file sun-web.xml and bundled the jsf 1.2 jars (Mojarra, Myfaces e Icefaces) . When I try deploy this application on glassfish v3, he's still loading mojarra 2.0.2, and the app not works. The UnsupportedOperationException is raised.
>
> In another application, I'm not using facelets/Richfaces and the same problem hapens.
>
> Any idea, why glassfish loads mojarra 2?
>

Can you describe the changes you made in your sun-web.xml?

Note that your sun-web.xml needs to look like this in order for the
bundled version of JSF to be picked up:
 
<sun-web-app>
  <class-loader delegate="false"/>
  <property name="useBundledJsf" value="true"/>
</sun-web-app>


Jan

> [Message sent by forum member 'zepfred' (zepfred_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=382133
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>