users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Tue, 12 Jan 2010 08:30:17 PST

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.


Thanks,
Ryan


> So is that a bug in GF or is it not?
>
> > > In my message above, I talked about application
> defined error pages,
> > > the same thing you mentioned here. My message is
> about creating a
> > > REST web service that returns an error as part of
> the API, and not
> > > wanting GlassFish to do anything but pass it to
> the client as-is. I
> > > don't want to return a web page.
> >
> > > I want to return exactly what my programming
> told GlassFish to
> > > return, so defining error-pages in web.xml
> completely defeats the
> > > purpose.
> >
> > Agreed, it was a suggestion to workaround GF
> restrictions.
> >
> > Paul.
> >
> >
> >
> ------------------------------------------------------
> ---------------
> > To unsubscribe, e-mail:
> users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail:
> users-help_at_glassfish.dev.java.net
>
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail:
> users-help_at_glassfish.dev.java.net
[Message sent by forum member 'rdelaplante' (ryan_at_ijws.com)]

http://forums.java.net/jive/thread.jspa?messageID=380351