PS:

$ cat WEB-INF/openejb-jar.xml

<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1";>
  <pojo-deployment class-name="jaxrs-application">
    <properties>
      cxf.jaxrs.providers=org.apache.cxf.jaxrs.provider.json.JSONProvider
    </properties>
  </pojo-deployment>
</openejb-jar>



Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-09-19 17:04 GMT+02:00 Romain Manni-Bucau <[email protected]>:
> Ok think I found, a too fast backport from trunk made us loose "tomee
> json" handling and we fallback on default cxf one. You can simply
> configure your app to use cxf json provider to solve it. We'll fix it
> in 1.7.2 I think
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-19 16:57 GMT+02:00 Francisco Moraes <[email protected]>:
>> I tried both IBM JVM 1.7.1 and the OpenJDK:
>>
>> java version "1.7.0_65"
>> OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04)
>> OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
>>
>> java version "1.7.0"
>> Java(TM) SE Runtime Environment (build pxa6470_27sr1fp1-20140708_01(SR1
>> FP1))
>> IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References
>> 20140707_205525 (JIT enabled, AOT enabled)
>> J9VM - R27_Java727_SR1_20140707_1408_B205525
>> JIT  - tr.r13.java_20140410_61421.07
>> GC   - R27_Java727_SR1_20140707_1408_B205525_CMPRSS
>> J9CL - 20140707_205525)
>> JCL - 20140707_01 based on Oracle 7u65-b16
>>
>> As for running Tomee, I just do a bin/startup.sh to run my web application.
>> The problem is very consistent.
>>
>> Francisco
>>
>>
>> On 9/19/2014 1:31 AM, Romain Manni-Bucau wrote:
>>>
>>> Hi
>>>
>>> com.sun.xml.bind.DatatypeConverterImpl#_printDateTime is called which
>>> is good in default setup. how do you run tomee? which jvm?
>>>
>>>
>>> Romain Manni-Bucau
>>> Twitter: @rmannibucau
>>> Blog: http://rmannibucau.wordpress.com/
>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>> Github: https://github.com/rmannibucau
>>>
>>>
>>> 2014-09-19 0:02 GMT+02:00 Francisco Moraes <[email protected]>:
>>>>
>>>> Hi,
>>>>
>>>> I used all the defaults. I tested with 1.7.0 and 1.7.1 and only have the
>>>> issue with 1.7.1.
>>>>
>>>> The value comes as number of milliseconds instead of ISO string.
>>>>
>>>> Open for any suggestions as I didn't see any changes in the release notes
>>>> that could be tied to it.
>>>>
>>>> Francisco
>>>>
>>>> Sent from my iPhone
>>>>
>>>>> On Sep 18, 2014, at 17:30, Romain Manni-Bucau <[email protected]>
>>>>> wrote:
>>>>>
>>>>> Hi
>>>>>
>>>>> are you using the same providers? jettison?
>>>>>
>>>>>
>>>>> Romain Manni-Bucau
>>>>> Twitter: @rmannibucau
>>>>> Blog: http://rmannibucau.wordpress.com/
>>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>>> Github: https://github.com/rmannibucau
>>>>>
>>>>>
>>>>> 2014-09-18 21:52 GMT+02:00 Francisco Moraes
>>>>> <[email protected]>:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have a JAX-RS service that returns a java Date object in JSON format.
>>>>>> With
>>>>>> Tomee 1.6.0.2, this was returned in ISO format as a string. With 1.7.1,
>>>>>> I am
>>>>>> seeing this now returned as a number.
>>>>>>
>>>>>> Any ideas why the change or how to set it up so that I can get it in
>>>>>> ISO
>>>>>> format?
>>>>>>
>>>>>> Francisco
>>
>>

Reply via email to