cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ispx_team (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1649) localtransport Concurrent problem
Date Fri, 13 Jun 2008 07:06:45 GMT
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


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.kewill.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.


Mime
View raw message