Hi Sergey,
I just wanted to let you know I found the problem. No issue with CXF you'll be
glad to hear. One of my dependencies was including an old version of ehcache.
Thanks very much for your help,
Matt
Matthew Glubb
Technical Partner
email: [email protected]
phone: 44 (0) 7715 754017
skype: mglubb
Kite
http://madebykite.com
--
GPG: 96FF DE0E 0B7B 37F0 7F8D C54C E285 3D8F 5625 9244
On 23 Mar 2011, at 12:37, Matthew Glubb wrote:
> Hi Sergey,
>
> Will do. I'll send you a sample maven project. It's all pretty simple really.
>
> Matt
>
>
> Matthew Glubb
> Technical Partner
>
> email: [email protected]
> phone: 44 (0) 7715 754017
> skype: mglubb
>
> Kite
> http://madebykite.com
>
> --
> GPG: 96FF DE0E 0B7B 37F0 7F8D C54C E285 3D8F 5625 9244
>
> On 23 Mar 2011, at 12:13, Sergey Beryozkin wrote:
>
>> Hi Matt
>>
>> On Wed, Mar 23, 2011 at 12:07 PM, Matthew Glubb <[email protected]> wrote:
>>
>>> Hi Sergey,
>>>
>>> I wrote a proof of concept testing both json providers side by side. They
>>> both work perfectly with ehcache-web so I think there must be something
>>> strange going on with my own code. Sorry to waste your time.
>>>
>>> Great, thanks for this confirmation and no problems at all - I've spent no
>> time on this issue :-)
>> It is still a possibility that your code indirectly exposes some issue with
>> CXF - let us know please if you find something.
>>
>> Also, if you could share somehow the sample configuration/project then I can
>> add some documentation to the wiki on how to use CXF with the ehcache-web
>>
>> thanks, Sergey
>>
>>
>>> Matt
>>>
>>>
>>> Matthew Glubb
>>> Technical Partner
>>>
>>> email: [email protected]
>>> phone: 44 (0) 7715 754017
>>> skype: mglubb
>>>
>>> Kite
>>> http://madebykite.com
>>>
>>> --
>>> GPG: 96FF DE0E 0B7B 37F0 7F8D C54C E285 3D8F 5625 9244
>>>
>>> On 23 Mar 2011, at 10:11, Sergey Beryozkin wrote:
>>>
>>>> Hi Matt
>>>>
>>>> Just curious, did you get a chance to validate the Jackson provider ? We
>>> may
>>>> still get a chance to track the possible CXF issue down before
>>> 2.4.0/2.3.4
>>>> is out,
>>>>
>>>> thanks, Sergey
>>>>
>>>> On Mon, Mar 21, 2011 at 5:32 PM, Sergey Beryozkin <[email protected]
>>>> wrote:
>>>>
>>>>> Hi Matt
>>>>>
>>>>> On Mon, Mar 21, 2011 at 5:28 PM, Matthew Glubb <[email protected]
>>>> wrote:
>>>>>
>>>>>> Hi Sergey,
>>>>>>
>>>>>> On 21 Mar 2011, at 17:09, Sergey Beryozkin wrote:
>>>>>>
>>>>>>> Sorry for a delay.
>>>>>>
>>>>>> No problem at all. I appreciate the time. It's one of the few things
>>> you
>>>>>> can never restore to someone.
>>>>>>
>>>>>>
>>>>> indeed :-)
>>>>>
>>>>>
>>>>>>> Do you know if ehcache filters are wrapping the servlet response
>>> stream
>>>>>> ?
>>>>>>> May be in some specific case the flush() is called on the output
>>> stream
>>>>>> in
>>>>>>> one of the CXF providers which may be the cause of this exception ?
>>>>>>
>>>>>> I believe that they do wrap the response stream. This is to modify the
>>>>>> headers after a cache miss. In the case of a cache hit we wouldn't get
>>> as
>>>>>> far as the servlet.
>>>>>>
>>>>>> I'm using org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider. I'll look
>>>>>> into it.
>>>>>>
>>>>>>
>>>>> you may want to try org.apache.cxf.jaxrs.provider.JSONProvider, just to
>>> see
>>>>> if it's anything to do with providers at all...
>>>>>
>>>>>
>>>>>>> If you could open a JIRA and provide a simple maven project for us to
>>>>>>> test/debug then it can help...
>>>>>>
>>>>>> If the providers don't turn up anything I'll do that.
>>>>>>
>>>>>>
>>>>> ok, thanks
>>>>>
>>>>> Sergey
>>>>>
>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>>
>>>>>> Matt
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sergey Beryozkin
>>>>
>>>> Application Integration Division of Talend <http://www.talend.com>
>>>> http://sberyozkin.blogspot.com
>>>
>>>
>