detail.php
OW2 Forge: Detail: 305030 Race condition when creating 2 endpoints

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
Celtix ESB
          
 
 
Summary
Forums
Tracker
Lists
Tasks
News
Files
SVN
                
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #305030 ] Race condition when creating 2 endpoints

Date:
2006-04-21 10:08
Priority:
4
Submitted By:
Eamonn Dwyer (eamdwyer)
Assigned To:
Conrad O'Dea (cjodea)
Category:
runtime
State:
Open
Summary:
Race condition when creating 2 endpoints

Detailed description:
When creating 2 endpoints in the same process at the same time using different threads causes the following sporadic problem ... javax.xml.ws.WebServiceException: Creation of Endpoint failed at org.objectweb.celtix.bus.jaxws.EndpointImpl.init(EndpointImpl.java:137) at org.objectweb.celtix.bus.jaxws.EndpointImpl.publish(EndpointImpl.java:249) at org.objectweb.celtix.bus.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:44) at javax.xml.ws.Endpoint.publish(Endpoint.java:156) at org.objectweb.celtix.systest.securebasic.WantAndNeedClientAuthServer.run(WantAndNeedClientAuthServer.java:22) at org.objectweb.celtix.testutil.common.AbstractTestServerBase.start(AbstractTestServerBase.java:42) at org.objectweb.celtix.systest.securebasic.ServerThread.run(WantAndNeedClientAuthServer.java:56) Caused by: java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449) at java.util.AbstractList$Itr.next(AbstractList.java:420) at org.objectweb.celtix.configuration.impl.ConfiguratorImpl.registerClient(ConfiguratorImpl.java:47) at org.objectweb.celtix.configuration.impl.ConfiguratorImpl.<init>(ConfiguratorImpl.java:25) at org.objectweb.celtix.configuration.impl.AbstractConfigurationImpl.<init>(AbstractConfigurationImpl.java:37) at org.objectweb.celtix.bus.configuration.CeltixConfigurationImpl.<init>(CeltixConfigurationImpl.java:11) at org.objectweb.celtix.bus.configuration.CeltixConfigurationBuilder.buildConfiguration(CeltixConfigurationBuilder.java:48) at org.objectweb.celtix.bus.jaxws.EndpointImpl.createConfiguration(EndpointImpl.java:528) at org.objectweb.celtix.bus.jaxws.EndpointImpl.init(EndpointImpl.java:126) ... 6 more See the code in trunk\celtix-systests\src\test\java\org\objectweb\celtix\systest\securebasic\WantAndNeedClientAuthServer.java - currently it has a moniker in it to work around the problem, removing the blocker launchingServer and running the test on a multiprocessor machine will reproduce it.

Add A Comment:

Please login

Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
artifact_group_idNone2006-04-27 20:30adisakala
assigned_tonone2006-04-25 15:59cjodea

Copyright © 1999-2008, OW2 Consortium | contact | You have a difficulty, a problem ? Please report an issue using your OW2 forge account credentials