Skip to main content

Custom error pages not working in 1.2_13!?

3 replies [Last post]
djm82
Offline
Joined: 2008-08-29
Points: 0

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.

First the participants:

Apache Tomcat 6.0.18
JSF 1.2_13
ICEfaces 1.8.1

and the snippet from web.xml

403
/forbidden.faces

404
/not_found.faces

500
/error.faces

java.lang.RuntimeException

/error.faces

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

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ryan Lubke

On 8/10/09 4:51 AM, webtier@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.

Stay tuned.
> First the participants:
>
> Apache Tomcat 6.0.18
> JSF 1.2_13
> ICEfaces 1.8.1
>
> and the snippet from web.xml
>
>
> 403
> /forbidden.faces
>

>
> 404
> /not_found.faces
>

>
> 500
> /error.faces
>

>
> java.lang.RuntimeException
>

> /error.faces
>

>
> 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@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

Ryan Lubke

On 8/10/09 4:37 AM, Ryan Lubke wrote:
> On 8/10/09 4:51 AM, webtier@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
>>
>>
>> 403
>> /forbidden.faces
>>

>>
>> 404
>> /not_found.faces
>>

>>
>> 500
>> /error.faces
>>

>>
>> java.lang.RuntimeException
>>

>> /error.faces
>>

>>
>> 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@glassfish.dev.java.net
>> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

djm82
Offline
Joined: 2008-08-29
Points: 0

Thanks for your efforts.

Since this is clearly an ICEfaces issue I will move to their forum/JIRA.