Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 54134 invoked from network); 21 Mar 2011 17:28:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Mar 2011 17:28:48 -0000 Received: (qmail 75540 invoked by uid 500); 21 Mar 2011 17:28:47 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 75490 invoked by uid 500); 21 Mar 2011 17:28:47 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 75482 invoked by uid 99); 21 Mar 2011 17:28:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 17:28:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [78.129.232.134] (HELO box.madebykite.com) (78.129.232.134) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 17:28:40 +0000 Received: from localhost (localhost [127.0.0.1]) by box.madebykite.com (Postfix) with ESMTP id 30DED10FC2BB for ; Mon, 21 Mar 2011 17:28:20 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at box.madebykite.com Received: from box.madebykite.com ([127.0.0.1]) by localhost (madebykite.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NIxP-Lz-OOYo for ; Mon, 21 Mar 2011 17:28:11 +0000 (GMT) Received: from [192.168.0.2] (88-97-30-209.dsl.zen.co.uk [88.97.30.209]) (Authenticated sender: matt@madebykite.com) by box.madebykite.com (Postfix) with ESMTPSA id 09AA710FC280 for ; Mon, 21 Mar 2011 17:28:10 +0000 (GMT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: CXF and ehcache-web From: Matthew Glubb In-Reply-To: Date: Mon, 21 Mar 2011 17:28:10 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <8CF41D9C-1F6E-4B17-96FF-75AAC717C0C7@madebykite.com> References: To: users@cxf.apache.org X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org 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. > 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. > 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. Thanks, Matt >=20 > thanks, Sergey >=20 >=20 >>=20 >> Matt >>=20 >>=20 >> Matthew Glubb >> Technical Partner >>=20 >> email: matthew.glubb@madebykite.com >> phone: 44 (0) 7715 754017 >> skype: mglubb >>=20 >> Kite >> http://madebykite.com >>=20 >> -- >> GPG: 96FF DE0E 0B7B 37F0 7F8D C54C E285 3D8F 5625 9244 >>=20 >> >> contextConfigLocation >> classpath*:webappContext.xml >> /WEB-INF/rio-servlet.xml >> >>=20 >> >>=20 >> = org.springframework.web.context.ContextLoaderListener >> >>=20 >> >> SimplePageCachingFilter >>=20 >> = net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter= >> >> varyHeader >> true >> >> >>=20 >> >> SimplePageCachingFilter >> /objects/* >> >>=20 >> >> rio >>=20 >> = org.apache.cxf.transport.servlet.CXFServlet= >> 1 >> >>=20 >> >> rio >> /* >>