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: Camel-CXF in tomee
Date Thu, 06 Apr 2017 09:21:02 GMT
This comes from an incompatibility between server cxf libraries and your
app when TomEE provides you the @Context injections, you can solve it
requesting tomee to use container libraries:

openejb.classloader.forced-skip = org.apache.cxf.

Alternative is to override in your jsonprovider the
method com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider#_locateMapperViaProvider
to return a constant mapper.

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

2017-04-06 10:55 GMT+02:00 syadav <b.srisailam@gmail.com>:

> unable to post this query
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Camel-CXF-in-tomee-tp4681184p4681491.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

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