webtier@glassfish.java.net

Re: [webtier] Custom error pages not working in 1.2_13!?

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Tue, 11 Aug 2009 11:03:33 -0700

On 8/10/09 4:37 AM, Ryan Lubke wrote:
> On 8/10/09 4:51 AM, webtier_at_javadesktop.org wrote:
>> Hi,
>>
>> I recently updated from 1.2._10 to 1.2_13 and suddenly my custom
>> error pages are not working anymore. I get the standard "500" error
>> pages from JSF.
> It works fine here without ICEfaces.
> I'll need some time to setup a test with ICEFaces included.
Ok, I've done some digging, and their appears to be a problem with
ICEFaces' ExternalContext.getServletRequestPath() implementation.

There's already a similar issue [1] on the ICEFaces JIRA.

I've update the issue with my findings.

[1] http://jira.icefaces.org/browse/ICE-4791
>
> Stay tuned.
>> First the participants:
>>
>> Apache Tomcat 6.0.18
>> JSF 1.2_13
>> ICEfaces 1.8.1
>>
>> and the snippet from web.xml
>>
>> <error-page>
>> <error-code>403</error-code>
>> <location>/forbidden.faces</location>
>> </error-page>
>> <error-page>
>> <error-code>404</error-code>
>> <location>/not_found.faces</location>
>> </error-page>
>> <error-page>
>> <error-code>500</error-code>
>> <location>/error.faces</location>
>> </error-page>
>> <error-page>
>> <exception-type>java.lang.RuntimeException
>> </exception-type>
>> <location>/error.faces</location>
>> </error-page>
>>
>> As I seaid ealrier everything worked fine when I used 1.2_10 but
>> stopped working after the migration to 1.2_13. I switched back to
>> 1.2_10 and it worked again.
>>
>> Is there an (un)known issue?
>>
>> Thx,
>> Daniel
>> [Message sent by forum member 'djm82' (djm82)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=359697
>>
>> ---------------------------------------------------------------------
>> 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
>