Re: Sitemesh overriding exceptions

Joe Walnes <[email protected]> Sun, 1 Nov 2009 06:17:23 -0500
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <[email protected]>
--001485f6c86ec1fa9304774d6709
Content-Type: text/plain; charset=ISO-8859-1

Hi Nadia

I'm not aware of any exception hiding in SiteMesh. Can you confirm that the
exceptions are not being hidden when you disable SiteMesh? Also, you might
want to check if you have any <error-page> directives in your web.xml

thanks
-Joe

On Thu, Oct 29, 2009 at 5:21 PM, Nadia <[email protected]>wrote:

> Hello,
> after we integrated sitemesh into our resin application, something strange
> is happening. For the unhandled exceptions, instead of displaying the
> exception on the screen, what we see is something like:
> 500 Servlet Exception
>
> java.io.FileNotFoundException: /item/item.jsp
>       at
> com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:141)
>       at
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
>       at
> com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
>       at
> com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
>       at
> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
>
> The logs do show the real exception, however somehow it is being
> 'overriden' and this one is displayed instead. (and the item.jsp file is
> there) I am not 100% this is a sitemesh problem but I suppose that it is. It
> makes fur us hard to debug the exceptions. Any ideas about this?
>
> thank you
> Nadia
> ---------------------------------------------------------------------
> Posted via Jive Forums
>
> http://forums.opensymphony.com/thread.jspa?threadID=632257&messageID=728823#728823
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

--001485f6c86ec1fa9304774d6709
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Nadia<div><br></div><div>I&#39;m not aware of any exception hiding in Si=
teMesh. Can you confirm that the exceptions are not being hidden when you d=
isable SiteMesh? Also, you might want to check if you have any &lt;error-pa=
ge&gt; directives in your web.xml</div>
<div><br></div><div>thanks</div><div>-Joe<br><br><div class=3D"gmail_quote"=
>On Thu, Oct 29, 2009 at 5:21 PM, Nadia <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:[email protected]">[email protected]</a>&g=
t;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Hello,<br>
after we integrated sitemesh into our resin application, something strange =
is happening. For the unhandled exceptions, instead of displaying the excep=
tion on the screen, what we see is something like:<br>
500 Servlet Exception<br>
<br>
java.io.FileNotFoundException: /item/item.jsp<br>
 =A0 =A0 =A0 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFil=
terChain.java:141)<br>
 =A0 =A0 =A0 at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter=
(PageFilter.java:39)<br>
 =A0 =A0 =A0 at com.caucho.server.dispatch.FilterFilterChain.doFilter(Filte=
rFilterChain.java:70)<br>
 =A0 =A0 =A0 at com.caucho.server.webapp.DispatchFilterChain.doFilter(Dispa=
tchFilterChain.java:115)<br>
 =A0 =A0 =A0 at com.caucho.server.dispatch.ServletInvocation.service(Servle=
tInvocation.java:229)<br>
<br>
The logs do show the real exception, however somehow it is being &#39;overr=
iden&#39; and this one is displayed instead. (and the item.jsp file is ther=
e) I am not 100% this is a sitemesh problem but I suppose that it is. It ma=
kes fur us hard to debug the exceptions. Any ideas about this?<br>

<br>
thank you<br>
Nadia<br>
---------------------------------------------------------------------<br>
Posted via Jive Forums<br>
<a href=3D"http://forums.opensymphony.com/thread.jspa?threadID=3D632257&amp=
;messageID=3D728823#728823" target=3D"_blank">http://forums.opensymphony.co=
m/thread.jspa?threadID=3D632257&amp;messageID=3D728823#728823</a><br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a href=3D"mailto:[email protected]=
va.net">[email protected]</a><br>
For additional commands, e-mail: <a href=3D"mailto:[email protected].=
java.net">[email protected]</a><br>
<br>
</blockquote></div><br></div>

--001485f6c86ec1fa9304774d6709--