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