You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "metatech (JIRA)" <ji...@apache.org> on 2012/12/01 21:07:58 UTC

[jira] [Commented] (CXF-4524) Large request causes socket timeout on subsequent requests on WebLogic hosted service

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

metatech commented on CXF-4524:
-------------------------------

[~pimlottc]: I used your test projects but could not reproduce the bug on WebLogic 10.3.3 nor 12.1.1, so there is probably another parameter being part of the big picture which remains to find… Which versions of Java/OS/Eclipse (used for launching the JUnit test) are you using ?
I believe the parameters likely to be involved are : WebLogic, CXF, HTTP Keep-Alive, HTTP Chunked Transfer Encoding. Maybe caused by a mix a chunked/non-chunked transfers on the same physical connection pooled by the "KeepAliveCache", but no proof of that is reached yet.

                
> Large request causes socket timeout on subsequent requests on WebLogic hosted service
> -------------------------------------------------------------------------------------
>
>                 Key: CXF-4524
>                 URL: https://issues.apache.org/jira/browse/CXF-4524
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.6.2
>         Environment: WebLogic 10.3.0.0
>            Reporter: Chris Pimlott
>         Attachments: stacktrace.client.txt, stacktrace.weblogic.txt, weblogic-socketTimeoutBug.zip
>
>
> I discovered an odd bug that appears to be some sort of interaction between CXF, WebLogic and HTTP keepalives.  I have a simple service in a webapp hosted in WebLogic 10.3.0.0.  I am hitting that service with a client stub generated from WSDL by cxf-codegen-plugin.
> The steps are as follows:
> 1. Create a new client service object
> 2. Make a first call, passing a fairly large (1000) list of strings
> 3. Make a second call to any method
> The first call executes properly, but the second call fails with a socket timeout.
> If the first call has a smaller or empty list of strings, the issue does not occur.
> If you add a delay of approx. 5 seconds between the two calls, the issue does not occur.  Shorter delays don't seem to be sufficient.
> If you disable HTTP keepalives, either on the client (via System property) or on the server, the issue does not occur.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira