tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: WARNING: No operation matching request path on a full jax-rs app
Date Mon, 06 Jun 2016 20:35:43 GMT
It is a tomee 7 feature I think


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-06-06 21:57 GMT+02:00 Kirys <kirys.it@gmail.com>:

> Got only null
> On Jun 6, 2016 9:52 PM, "Romain Manni-Bucau" <rmannibucau@gmail.com>
> wrote:
>
> > 2016-06-06 21:44 GMT+02:00 Kirys <kirys@neoteroi.org>:
> >
> > > On 06/06/2016 12:09, Kirys wrote:
> > >
> > >>
> > >> Good point, but it is just a little counterintuitive, actually there
> is
> > >> no "processor" designed for it.
> > >> I'll try the code you provided and also catch all function approach.
> > >>
> > >>
> > >
> > > Ok the exception mapper was working but that code doesn't fire the
> > > standard error pages (and of course ignore also those defined into the
> > > web.xml).
> > > I've also noticed that if the rest "controller" raises an exception the
> > > standard tomcat pages are shown.
> > > My current solution is to generate the 404 page inside the mapper code
> > > (that cannot accept injections though)
> > >
> >
> > If that's a CDI bean it should work otherwise you get a plain
> newInstance()
> > or Service configured provider.
> >
> >
> > > I've updated the sample project on my repo as a reference.
> > > Thank You again for your help
> > > K.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message