You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/10/28 17:23:59 UTC

[jira] Updated: (CXF-2506) LoggingInInterceptor called twice if message is larger than 64 kb (when CachedOutStream writes to tempfile)

     [ https://issues.apache.org/jira/browse/CXF-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-2506:
-----------------------------

    Attachment: java_first_jaxws.tar.gz


I cannot reproduce this with 2.1.5 or any other version.

I've attached a modified version of the java_first_jaxws demo that adds the logging interceptors on the server side and creates a 75K string on the client side and echos it.    The message is logged once on the server on the way in and once on the way out.

Thus, at this point, this bug is non-reproducible.   I'll need a full testcase.

> 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.