cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Levente Kiss (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-6116) memory leak in web service client with WS Addressing feature
Date Tue, 25 Nov 2014 13:14:13 GMT

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

Levente Kiss updated CXF-6116:
------------------------------
    Description: 
The jax-ws web service client is causing serious memory leak if the WS-Addressing feature
is enabled.

Relevant spring configuration:
{noformat}
<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>
{noformat}

Relevant client code:
{noformat}
@Autowired
private WebService webServiceClient;

private void callClient(){
 webServiceClient.doSomething();
}
{noformat}

Memory behavior and heap dump screenshots are attached.

In case you need the heapdump file, please let me know.

Thanks in advance!
Levi

  was:
The jax-ws web service client is causing serious memory leak if the WS-Addressing feature
is enabled.

Relevant spring configuration:
{noformat}
<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>
{noformat}

Relevant client code:
{noformat}
@Autowired
private WebService webServiceClient;

private void callClient(){
 webServiceClient.doSomething();
}
{noformat}

Memory behavior and heap dump screenshots are attached. In case you need the heapdump file,
please let me know.


> memory leak in web service client with WS Addressing feature
> ------------------------------------------------------------
>
>                 Key: CXF-6116
>                 URL: https://issues.apache.org/jira/browse/CXF-6116
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime, WS-* Components
>    Affects Versions: 3.0.2
>            Reporter: Levente Kiss
>              Labels: memory-leak
>         Attachments: heapdump_classes.PNG, heapdump_reference.PNG, memory_usage.PNG
>
>
> The jax-ws web service client is causing serious memory leak if the WS-Addressing feature
is enabled.
> Relevant spring configuration:
> {noformat}
> <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>
> {noformat}
> Relevant client code:
> {noformat}
> @Autowired
> private WebService webServiceClient;
> private void callClient(){
>  webServiceClient.doSomething();
> }
> {noformat}
> Memory behavior and heap dump screenshots are attached.
> In case you need the heapdump file, please let me know.
> Thanks in advance!
> Levi



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message