[ 
https://issues.apache.org/jira/browse/CXF-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770951#action_12770951
 ] 

Daniel Kulp commented on CXF-2506:
----------------------------------


Can you try with 2.1.7, this may already be fixed as the callbacks for the 
CachedOutputStream stuff was adjusted quite a bit.  Also, the 
LoggingInInterceptor itself has undergone a bunch of changes since 2.1.5.


> LoggingInInterceptor called twice if message is larger than 64 kb (when 
> CachedOutStream writes to tempfile)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2506
>                 URL: https://issues.apache.org/jira/browse/CXF-2506
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.5
>         Environment: Windows
>            Reporter: Laxmi Deepika Vadapalli
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to