You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2008/06/13 20:17:45 UTC
[jira] Commented: (CXF-1649) localtransport Concurrent problem
[ https://issues.apache.org/jira/browse/CXF-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604944#action_12604944 ]
Daniel Kulp commented on CXF-1649:
----------------------------------
I've seen this in our system tests VERY occasionally, but not enough to reproduce it reliably enough to debug it. :-(
I've just committed some fixes the the Local transport that I think will fix this, but since I really am having issues trying to reproduce it to start of with, I'm not 100% positive it's completely fixed.
> localtransport Concurrent problem
> ----------------------------------
>
> Key: CXF-1649
> URL: https://issues.apache.org/jira/browse/CXF-1649
> Project: CXF
> Issue Type: Bug
> Components: Transports
> Affects Versions: 2.1
> Reporter: ispx_team
> Assignee: Daniel Kulp
>
> I start 20 service with localtransport like this:
> <jaxws:server xmlns:jaxws="http://cxf.apache.org/jaxws" id="kimberlyServiceLocalServer" serviceBean="#kimberlyWebService" address="local://KimberlyService">
> <jaxws:serviceFactory>
> <ref bean="jaxws-and-xmlbean-service-factory" />
> </jaxws:serviceFactory>
> </jaxws:server>
>
> and start 20 client call those local service:
> <jaxws:client xmlns:jaxws="http://cxf.apache.org/jaxws" id="kimberlyServiceClient" serviceClass="com.KimberlyWebService" address="local://KimberlyService">
> <jaxws:binding>
> <soap:soapBinding xmlns:soap="http://cxf.apache.org/bindings/soap" mtomEnabled="true" version="1.2" />
> </jaxws:binding>
> <jaxws:dataBinding>
> <bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding" />
> </jaxws:dataBinding>
> </jaxws:client>
>
> when I run call client I meet this error, and sometime it can success.
>
> Exception in thread "Thread-11" java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
> at java.util.HashMap$EntryIterator.next(HashMap.java:883)
> at java.util.HashMap$EntryIterator.next(HashMap.java:881)
> at org.apache.cxf.transport.local.LocalTransportFactory.copy(LocalTransp
> ortFactory.java:166)
> at org.apache.cxf.transport.local.LocalConduit$1$1.run(LocalConduit.java
> :123)
> at java.lang.Thread.run(Thread.java:595)
> 2008-6-13 13:50:38 org.apache.cxf.endpoint.ClientImpl waitResponse
> 警告: Timed out waiting for response to operation {http://www.test.com/schema/
> aes}SaveCommodity.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.