Re: WebApplicationExceptionMapper not being called

2019-12-25 Thread Ivan Junckes Filho
Thanks Romain, it seems using a ContainerRequestFilter did the job. I will open a ticket. On Wed, Dec 25, 2019 at 2:45 PM Romain Manni-Bucau wrote: > Hi Ivan > > You can set it with a cxf interceptor or even jaxrs filter but looks like a > bug, at least the default. Default should be true only

Re: WebApplicationExceptionMapper not being called

2019-12-25 Thread Romain Manni-Bucau
Hi Ivan You can set it with a cxf interceptor or even jaxrs filter but looks like a bug, at least the default. Default should be true only if there is no custom mapper, not if there is any registered mapper matching and this is known at deploy time. Guess you should open a ticket. Le mer. 25 déc.

Re: WebApplicationExceptionMapper not being called

2019-12-25 Thread Ivan Junckes Filho
It seems the issue is with: wae.spec.optimization property, it needs to be false or it webapplicationexception will be skipped. But I can't find the way to set it to false. Property is part of org.apache.cxf.message.Message. Anyone can help? system.properties didn't work. On Wed, Dec 25, 2019 a

WebApplicationExceptionMapper not being called

2019-12-25 Thread Ivan Junckes Filho
Hello guys, I am trying to log the exception thrown by WebApplicationExceptionMapper but the exception mapper is never called. Instead of calling it tomee calls ExceptionUtils.convertFaultToResponse. Even writing a new default exception mapper doesn't work. Anyone knows how can I print the excepti