[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-user
Subject:    Re: Camel-CXF in tomee
From:       Romain Manni-Bucau <rmannibucau () gmail ! com>
Date:       2017-04-06 9:21:02
Message-ID: CACLE=7Mk8L9BHFHKZL0KRZ4je+0LY0BoYR+Jgrc1Lcz1pFQHLg () mail ! gmail ! com
[Download RAW message or body]


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.
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic