cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5422) Problem creating proxy for multiple threads
Date Tue, 26 Nov 2013 14:56:35 GMT

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

Daniel Kulp commented on CXF-5422:
----------------------------------

This is an ancient version of CXF and is no longer supported by us.    If this can be reproduced
with a newer version of CXF, we'd be happy to try and look into it.   Otherwise, you may need
to log this with JBoss to have them look at it, but my gut feeling is they'll also suggest
upgrading.

> Problem creating proxy for multiple threads
> -------------------------------------------
>
>                 Key: CXF-5422
>                 URL: https://issues.apache.org/jira/browse/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
>
> Hi,
> 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:
> java.lang.NullPointerException
> 	at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:483)
> 	at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:469)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251)
> 	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:89)
> 	... 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.properties.getEndpointAdress());
> this.port = searchPort;
> What is the problem? Have we done anything wrong?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message