On Wed October 28 2009 11:13:01 am Nepali, Sonam (GE Healthcare, consultant) 
wrote:
>  I have also noticed that the LoggingInInterceptor writes to temp files
> (message > 64Kb) and does not seem to get rid of them.  The files need
> to be deleted after the message is processed otherwise it will fill up
> the filesystem.

This was fixed earlier this year:
https://issues.apache.org/jira/browse/CXF-2106

Dan


> 
> 
> Sonam
> 
> -----Original Message-----
> From: deepika vadapalli [mailto:[email protected]]
> Sent: Wednesday, October 28, 2009 8:15 AM
> To: [email protected]
> Subject: LoggingInterceptor called twice if CachedOutStream writes to
> temp file (message larget than 64kb)
> 
> 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
[email protected]
http://www.dankulp.com/blog

Reply via email to