Valentino Pecaoco created CXF-6560:
--------------------------------------
Summary: While waiting for the response from the endpoint to
complete, client sends a bogus request then hangs
Key: CXF-6560
URL: https://issues.apache.org/jira/browse/CXF-6560
Project: CXF
Issue Type: Bug
Components: Core
Affects Versions: 3.0.2
Environment: Oracle Linux
Reporter: Valentino Pecaoco
Configuration: CXF client --> load balancer --> service bus (OSB) --> endpoint
We have a batch job that pulls data for a set of users from a Web service
endpoint. The job iterates through the users then fires a request for each.
The request from the client to the endpoint goes through fine. But in
processing the response, there are instances where the client sorts of
"interrupts" the response stream from the load balancer by sending another POST
request but without any SOAP payload. When this happens, the client hangs and
the whole batch job freezes. The batch job would only run normally again after
a server restart (We have a clustered config so the other server runs the job.
But after some time the other server also experiences the same issue).
Above happens randomly and since there were no logs being generated in the
client because of the hang, the sequence of events were only captured via
tcpdump and examined in Wireshark.
Application is in Spring / Spring Batch and we are using JaxWsProxyFactoryBean
as a Spring bean. The client stubs files are generated via cxf-codegen-plugin
Maven plugin with wsdl2java goal.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)