You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Cagatay Civici <ca...@gmail.com> on 2011/06/03 08:39:21 UTC

MyFaces on Glassfish 3

Hi Guys,

I'm no Glassfish expert, does anyone know how to replace mojarra of gf3 with MyFaces?

Thanks,

Cagatay


Re: MyFaces on Glassfish 3

Posted by Cagatay Civici <ca...@gmail.com>.
Great, thanks!

On Jun 3, 2011, at 11:10 AM, Juan Fernandez-Corugedo Igual wrote:

> Put the myfaces jar files and all of its dependencies in the WEB-INF/lib folder of your proyect and add a Glassfish configuration file (WEB-INF/sun-web.xml) with this content:
> 
> <sun-web-app>
>     <class-loader delegate="false" />
>     <property name="useMyFaces" value="true" />
>     <property name="useBundledJsf" value="true"/>
> </sun-web-app> 
> 
> The jar files that must be in the lib folder are:
> 
> commons-beanutils.jar (I have use the 1.8.3 version)
> commons-digester.jar  (I have use the 2.1 version)
> commons-logging.jar   (I have use the 1.1.1 version)
> myfaces-api.jar and myfaces-impl.jar (I have use the 2.1.0 version)
> 
> 2011/6/3 Cagatay Civici <ca...@gmail.com>
> Hi Guys,
> 
> I'm no Glassfish expert, does anyone know how to replace mojarra of gf3 with MyFaces?
> 
> Thanks,
> 
> Cagatay
> 
> 

Çağatay Çivici
Principal Consultant
PrimeFaces Lead | JSF EG Member

Prime Teknoloji
Bilkent Cyberpark, A-303d
06800 Ankara/Turkey
Tel: +90 312 265 05 07
http://www.prime.com.tr


Re: MyFaces on Glassfish 3

Posted by Gerhard Petracek <ge...@gmail.com>.
hi,

in glassfish v3 they renamed it from useMyFaces to useBundledJsf [1] -> you
don't need both.

regards,
gerhard

[1] http://java.net/jira/browse/GLASSFISH-6577

http://www.irian.at

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

Professional Support for Apache MyFaces


2011/6/3 Juan Fernandez-Corugedo Igual <jf...@gmail.com>

> Put the myfaces jar files and all of its dependencies in the WEB-INF/lib
> folder of your proyect and add a Glassfish configuration file
> (WEB-INF/sun-web.xml) with this content:
>
> <sun-web-app>
>     <class-loader delegate="false" />
>     <property name="useMyFaces" value="true" />
>     <property name="useBundledJsf" value="true"/>
> </sun-web-app>
>
> The jar files that must be in the lib folder are:
>
> commons-beanutils.jar (I have use the 1.8.3 version)
> commons-digester.jar  (I have use the 2.1 version)
> commons-logging.jar   (I have use the 1.1.1 version)
> myfaces-api.jar and myfaces-impl.jar (I have use the 2.1.0 version)
>
>
> 2011/6/3 Cagatay Civici <ca...@gmail.com>
>
>> Hi Guys,
>>
>> I'm no Glassfish expert, does anyone know how to replace mojarra of gf3
>> with MyFaces?
>>
>> Thanks,
>>
>>  *
>> Cagatay
>> *
>>
>>
>

Re: MyFaces on Glassfish 3

Posted by Juan Fernandez-Corugedo Igual <jf...@gmail.com>.
Put the myfaces jar files and all of its dependencies in the WEB-INF/lib
folder of your proyect and add a Glassfish configuration file
(WEB-INF/sun-web.xml) with this content:

<sun-web-app>
    <class-loader delegate="false" />
    <property name="useMyFaces" value="true" />
    <property name="useBundledJsf" value="true"/>
</sun-web-app>

The jar files that must be in the lib folder are:

commons-beanutils.jar (I have use the 1.8.3 version)
commons-digester.jar  (I have use the 2.1 version)
commons-logging.jar   (I have use the 1.1.1 version)
myfaces-api.jar and myfaces-impl.jar (I have use the 2.1.0 version)

2011/6/3 Cagatay Civici <ca...@gmail.com>

> Hi Guys,
>
> I'm no Glassfish expert, does anyone know how to replace mojarra of gf3
> with MyFaces?
>
> Thanks,
>
> *
> Cagatay
> *
>
>