Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.2
-
Unknown
Description
The jax-ws web service client is causing serious memory leak if the WS-Addressing feature is enabled.
Relevant spring context configuration:
<jaxws:client id="wsClient" serviceClass="com.example.WebService" address="${service.url}" serviceName="s:WebService" xmlns:s="http://ServiceContracts/2014/11/WebService" endpointName="s:WebService" bindingId="http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true"> <jaxws:features> <wsa:addressing xmlns:wsa="http://cxf.apache.org/ws/addressing" /> </jaxws:features> </jaxws:client>
Relevant spring managed client code:
@Autowired private WebService webServiceClient; private void callClient(){ webServiceClient.doSomething(); }
Memory behavior and heap dump screenshots are attached.
In case you need the heapdump file, please let me know.
Thanks in advance!
Levi
Attachments
Attachments
Issue Links
- relates to
-
CXF-6590 MAPCodec: memory leak with sync client when soapfaults returned from endpoint
- Closed