webtier@glassfish.java.net

Re: [webtier] JSF 1.2?

From: Jeffrey Blattman <jeffrey.blattman_at_gmail.com>
Date: Wed, 05 Aug 2009 14:26:01 -0700

sigh. yes, our app bundles JAXP ... and to get it loaded, it does some
terrible, terrible classloader hackery. i don't think i'll be able to
solve things in this direction. thanks.

On 8/5/09 2:23 PM, Ryan Lubke wrote:
> On 8/5/09 1:54 PM, Jeffrey Blattman wrote:
>> yes i tried the below already ryan. this gives me some strange errors
>> related to xerces versioning. i am sure this has to do with other
>> almost unexplainable intricacies of our web app.
> Mojarra requires JAXP 1.3. So it sounds like you've got JAXP 1.2 or
> older in your application and it's replacing the older factories.
> I've only seen this a handful of times, but each time the issue was
> resolved by updating the JAXP implementation in the application.
>
>>
>> On 8/5/09 1:46 PM, Ryan Lubke wrote:
>>> On 8/5/09 1:22 PM, Jeffrey Blattman wrote:
>>>> i'm using icefaces, which requires JSF 1.2. i used to be able to
>>>> uninstall JSF 2.0 and install 1.2 by following these instructions,
>>>>
>>>> http://www.icefaces.org/JForum/posts/list/11335.page
>>>>
>>>> however, now when i try to remove 2.0, it says that it is required
>>>> by another pkg (web 3.0.0?), and the JSF 1.2 pkgs listed there are
>>>> no longer available.
>>> Bundle the JSF 1.2 implementation JARs with your application.
>>>
>>> Include a sun-web.xml that looks something like:
>>>
>>> <?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>
>>>
>>> in WEB-INF of your war and deploy it without changing the jars
>>> included with v3.
>>>>
>>>> ?
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>