Right but if it is a @Provider or a @Path (resource) is decided at boot
time (you can check in CxfRsHttpListener#deployApplication).

If you don't manage to sort it out you would need to reproduce it on a
public/trusted source repository and share a sample.

Side note: maybe using BeanValidation interceptor features would make it:
1- smoother
2- more reliable since CXF is not able to go through the proxy layers of
CDI/EJB


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2016-03-14 17:21 GMT+01:00 jllado <[email protected]>:

> Well... the call to getSingletons happens at boot time. And as you said,
> it's
> called two times.
>
> But the warning happens when I do a call to the swagger end point.
>
> Thanks,
> Juan Lladó
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Service-object-is-not-a-singleton-use-a-custom-invoker-to-validate-tp4677891p4677904.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to