On Jan 12, 2010, at 5:30 PM, glassfish_at_javadesktop.org wrote:
> Well, GlassFish has sure made it difficult for me until I figured
> out a work around. I am using GlassFish 2.1 which was not designed
> with JAX-RS in mind. Maybe GlassFish V3 is aware of this issue and
> does not interfere with JAX-RS error responses.
>
Unfortunately not. Basically a JAX-RS application is deployed as a
servlet so the behavior is the same as any deployed servlet.
I recommend logging a bug against GF stating that default error pages
should be disabled (or as a compromise a feature is supported to
disable default error pages).
Paul.