webtier@glassfish.java.net

Re: [webtier] GF 2.1 not honoring useBundledJsf?

From: Jeffrey Blattman <jeffrey.blattman_at_gmail.com>
Date: Wed, 25 Nov 2009 14:22:22 -0800

will i have any problem across different container versions? that is,
does GF 2.1.1, GF v3 honor the same semantics?

On 11/25/09 2:21 PM, Jan Luehe wrote:
> On 11/25/09 14:18, Jeffrey Blattman wrote:
>> okay, how do i get it to use by bundled JSF version then?
>
> Use "useMyFaces".
> "useMyFaces" and "useBundledJsf" are semantically equivalent.
> Sorry, I should have made this clearer.
>
> Jan
>
>>
>> On 11/25/09 2:09 PM, Jan Luehe wrote:
>>> On 11/25/09 14:01, Jeffrey Blattman wrote:
>>>> i have a WAR w/ JSF 1.2_13 bundled. i have the sun-web.xml below
>>>> included. in the startup logs, i see,
>>>>
>>>>
>>>> /[#|2009-11-25T12:30:49.562-0800|WARNING|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=17;_ThreadName=Timer-13;useBundledJsf;true;_RequestID=f3da814e-6050-49bc-a17b-d30abb6dcc4f;|WEB0110:
>>>> Ignoring invalid property [useBundledJsf] = [true]|#]/
>>>
>>> GF v2.1 supports only "useMyFaces". Support for the more general
>>> "useBundledJsf"
>>> was only added to GF v2.1.1 (and GF v3).
>>>
>>> Jan
>>>
>>>
>>>>
>>>> and then,
>>>>
>>>> /[#|2009-11-25T12:30:52.328-0800|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=17;_ThreadName=Timer-13;/opensso;|Initializing
>>>> Sun's JavaServer Faces implementation (*1.2_04-b20-p03*) for
>>>> context '/opensso'|#]
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <!DOCTYPE sun-web-app PUBLIC
>>>> "-//Sun Microsystems, Inc.//DTD GlassFish
>>>> Application Server 3.0 Servlet 3.0//EN"
>>>> "http://www.sun.com/software/appserver/dtds/sun-web-app_3_0-0.dtd">
>>>>
>>>> <sun-web-app>
>>>> <class-loader delegate="false"/>
>>>> <property name="useBundledJsf" value="true"/>
>>>> </sun-web-app>/
>>>>
>>>> --
>>>
>>
>> --
>

--