tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirys <ki...@neoteroi.org>
Subject Re: Tomee 1.7.4 tries to parse a binary multipart as json
Date Wed, 28 Dec 2016 15:12:59 GMT
On 28/12/2016 15:31, Romain Manni-Bucau wrote:
> looks good,
>
> think the easiest is to debug in
> https://github.com/apache/cxf/blob/2.6.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java#L1019
> to identify the issue


ok from what i see reading the code this maybe because somehow The first 
provider that declare that it could handle this is the jonhzon one.
It tries to parse the full body as a json (tried with an empty body)
the question now is why is this processed before the multipart?

I'll try experimenting

> side note: this handling changed a bit for jaxrs 2 so tomee 7 can behave
> better maybe
>

yeah maybe but is not something i can do easily, and maybe this could 
not solve it.
Thank You
I'll let you know

Mime
View raw message