cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: LoggingInterceptor called twice if CachedOutStream writes to temp file (message larget than 64kb)
Date Wed, 28 Oct 2009 16:29:15 GMT

I added a testcase to the jira that works fine.   Thus, I cannot reproduce 
this.  We'll need a full testcase.   

Dan


On Wed October 28 2009 10:14:51 am deepika vadapalli wrote:
> Hello,
> 
> I have my own SELoggingInterceptor. But it is same as LoggingInInterceptor
> code with no difference.
> 
> I see that when message is larger than 64kb i.e. when CachedOutputStream
> write to temp file, this interceptor is called twice.
> First time, I process the message and second time I get Stream is closed
> Exception when I try to copy Message,content (InputStream) to
> CachedOutputStream.
> 
> I tried printing the interceptor chain and I see my interceptor only once.
> It happens only with larger messages with CXF 2.1.5.
> 
> 
> Please help me out.
> 
> 
> Thanks,
> Deepika
> 

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message