[
https://issues.apache.org/jira/browse/CXF-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008643#comment-13008643
]
Laxmi Deepika Vadapalli commented on CXF-2506:
----------------------------------------------
In our case wht happened was we were having our own LoggingInterceptor
extending cxf LoggingInInterceptor .
Initially we had some other cxf version. When we upgraded to cxf 2.1.5,
LoggingInInterceptor was changed. So, we had to change our own
LoggingInterceptor to match the one from CXF. Then it worked.
Thanks,
Deepika
On Fri, Mar 18, 2011 at 10:53 AM, Salgado, Ignacio (JIRA)
> 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
> Attachments: image001.gif, java_first_jaxws.tar.gz
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira