users@glassfish.java.net

Re: JAX-RS error code 500 = GlassFish HTML error page

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 14 Jan 2010 15:37:49 +0100

On Jan 14, 2010, at 3:16 PM, Markus Karg wrote:

>> I think default error page support should be disabled by default for
>> *any* deployed servlet and there is no need to distinguish between
> JAX-
>> RS and Servlet deployments in this case.
>
> I understand. No problem with that. I just didn't want to make any
> restrictions to Servlets as I am only interested in JAX-RS and don't
> know the actual content of the Servlet specification on this
> issue. :-)
>
>> No. I agree this is a GlassFish issue.
>
> Great! Who's in charge of fixing that? ;-)
>

The web tier team. However, i do not think it my call to dictate my
preference in this respect (assuming i am correct and the default
behavior is not required by Servlet) as i understand disabling the
feature by default will also cause complications for other users. So a
good compromise would be to have a, documented, per-servlet/per-web-
app init/context parameter.

IMHO the issue should be re-opened and clarified in this regard.

Paul.

>> I do not think this issue is specific to just JAX-RS/Jersey but to
>> any servlet-based Web application.
>
> Have overseen that. Sorry.
>
> Regards
> Markus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>