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: Tomee 1.7.4 tries to parse a binary multipart as json
Date Wed, 28 Dec 2016 14:31:06 GMT
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

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


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>

2016-12-28 15:14 GMT+01:00 Kirys <kirys@neoteroi.org>:

> On 28/12/2016 14:35, Romain Manni-Bucau wrote:
>
>> Hi
>>
>> you added johnzon yourself in tomee right? If so did you use a recent
>> version like 0.9.5 or 1.0.0?
>>
> 0.9.5 netbeans doesn't show 1.0 as available, i'll force the redownload of
> the catalogue
>
>
>   Also has your request the Content-Type header
>> well set?
>>
>
> this is the request header
>
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0)
> Gecko/20100101 Firefox/50.0
> Accept: application/json, text/javascript, */*; q=0.01
> Accept-Language: en-US,en;q=0.5
> Accept-Encoding: gzip, deflate
> X-Requested-With: XMLHttpRequest
> Referer: http://localhost:8080/gasceportal/manage/edit/28
> Content-Length: 3662
> Content-Type: multipart/form-data; boundary=---------------------
> ------24006186120310464641361896272
> Cookie: JSESSIONID=8F1618693044999C4D35604E999C1731;
> _ga=GA1.1.1379152695.1468049534; cookieconsent_dismissed=yes; _gat=1
> Connection: keep-alive
>
>
>

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