users@glassfish.java.net

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

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 18 Jan 2010 12:22:12 +0000

On Jan 15, 2010, at 7:26 PM, glassfish_at_javadesktop.org wrote:

> This sounds like a good idea. Sun should communicate this
> information to all other JAX-RS implementations so they can add the
> same GlassFish specific support. Too bad this behavior wasn't
> defined by the JAX-RS specification.

IIRC the source of the issue is different app servers have different
behavior for default error pages. Is default error page support
required by the servlet specification? If not then this requires some
clarification from the Servlet specfication before anything at the
level of JAX-RS can be specified.

Paul.

> Thanks,
> Ryan
>
>
>> I should mention that by having Jersey's
>> ServletContainerInitializer
>> set the new init parameter, no developer involvement
>> would be required,
>> that is, the web container's default error page would
>> be suppressed for any
>> JAX-RS requests out-of-the-box, which is what Markus
>> has been asking for.
>>
>>
>> Jan
> [Message sent by forum member 'rdelaplante' (ryan_at_ijws.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=381247
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>