[
https://issues.apache.org/jira/browse/CXF-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Laxmi Deepika Vadapalli closed CXF-2506.
----------------------------------------
Resolution: Fixed
Our custom interceptor code was also updated accordingly with CXF Logging In
Interceptor and it worked fine.
> 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: 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.
-
You can reply to this email to add a comment to the issue online.