cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Wimmer (JIRA)" <>
Subject [jira] [Created] (CXF-5422) Problem creating proxy for multiple threads
Date Tue, 26 Nov 2013 10:52:35 GMT
Philipp Wimmer created CXF-5422:

             Summary: Problem creating proxy for multiple threads
                 Key: CXF-5422
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: JBoss 4.2.3.GA (jdk6-cxf stack 3.1.0) on AIX 6.1 
CXF Jars on JBoss are Version 2.1.4
            Reporter: Philipp Wimmer


we're using CXF as client to call a webservice in our company network.
In our current usecase we need to call the webservice around 12.000 times. To improve performance
we decided to use multiple threads which call the service.

We are getting the following error on some (1-4) threads of 40 threads:
	at org.apache.cxf.transport.http.HTTPConduit.prepare(
	at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
	at org.apache.cxf.endpoint.ClientImpl.invoke(
	at org.apache.cxf.endpoint.ClientImpl.invoke(
	at org.apache.cxf.endpoint.ClientImpl.invoke(
	at org.apache.cxf.frontend.ClientProxy.invokeSync(
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
	... 10 more

This is how we create the proxy, which we are using for all calls:

final SearchService service = new SearchService(this.getWsdl());
final SearchingInsuranceService searchPort = service.getSearchingInsuranceServicePort();
((BindingProvider) searchPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,;
this.port = searchPort;

What is the problem? Have we done anything wrong?

This message was sent by Atlassian JIRA

View raw message