Dear Sir or Madam,

Tuscany DAS 1.0 beta2 may have concurrent Modification problem under
stress testing environment

 

The following Exception at
org.eclipse.emf.common.util.BasicEList$EIterator.checkModCount(BasicELis
t.java:1327)

surely occurred when concurrently invoke
org.apache.tuscany.das.rdb.impl.DASFactoryImpl.createDAS

Test Case 1:

Generated 10 threads concurrently, each thread does 100 insert commands
in loop, 500 request in total, finally I got 55 request failed, above
11% fail rate, all was caused by the following exception

 

Test Case 2:

Generated 2 threads concurrently, each thread does 100 insert commands
in loop, 200 request in total, finally I got 5 request failed, about
2.5% fail rate, all was caused by the following exception

 

WAS CE 2.0.0.2

CPU 1.4MHZ centrino, 1.25G memory(512m was used on WAS CE server
instance)

SYBASE 12.5

DAS was configured using database pool on WASCE 

 

I am wondering if there would be a hot fix on it

Thank you

 

 

Best Regards

Michael

 

java.util.ConcurrentModificationException

    at
org.eclipse.emf.common.util.BasicEList$EIterator.checkModCount(BasicELis
t.java:1327)

    at
org.eclipse.emf.common.util.BasicEList$EIterator.next(BasicEList.java:12
75)

    at
org.eclipse.xsd.impl.XSDSchemaImpl.changeReference(XSDSchemaImpl.java:24
32)

    at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDConcreteCompone
ntImpl.java:1221)

    at
org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.ja
va:234)

    at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(Notifying
ListImpl.java:302)

    at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:600)

    at
org.eclipse.xsd.impl.XSDSchemaImpl.imported(XSDSchemaImpl.java:2985)

    at
org.eclipse.xsd.impl.XSDImportImpl.handleResolvedSchema(XSDImportImpl.ja
va:424)

    at
org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.resolve(XSDSchemaDirectiveIm
pl.java:387)

    at
org.eclipse.xsd.impl.XSDImportImpl.importSchema(XSDImportImpl.java:411)

    at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaImpl.java:2136
)

    at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveNamedComponent(XSDSchemaImpl.j
ava:2164)

    at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveSimpleTypeDefinition(XSDSchema
Impl.java:2240)

    at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.resolveSimpleTypeDefinitio
n(XSDConcreteComponentImpl.java:2374)

    at
org.eclipse.xsd.impl.XSDAttributeDeclarationImpl.patch(XSDAttributeDecla
rationImpl.java:189)

    at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcreteComponent
Impl.java:526)

    at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java:1505)

    at
org.eclipse.xsd.impl.XSDSchemaImpl.changeAttribute(XSDSchemaImpl.java:23
35)

    at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDConcreteCompone
ntImpl.java:1240)

    at
org.eclipse.xsd.impl.XSDSchemaImpl.setSchemaLocation(XSDSchemaImpl.java:
829)

    at
org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:756)

    at
org.eclipse.xsd.util.XSDResourceImpl.load(XSDResourceImpl.java:617)

    at
org.apache.tuscany.sdo.helper.XSDHelperImpl.define(XSDHelperImpl.java:23
3)

    at
org.apache.tuscany.sdo.helper.XSDHelperImpl.define(XSDHelperImpl.java:22
4)

    at
org.apache.tuscany.das.rdb.impl.CommandImpl.<init>(CommandImpl.java:50)

    at
org.apache.tuscany.das.rdb.impl.CommandImpl.<init>(CommandImpl.java:59)

    at
org.apache.tuscany.das.rdb.impl.WriteCommandImpl.<init>(WriteCommandImpl
.java:37)

    at
org.apache.tuscany.das.rdb.impl.InsertCommandImpl.<init>(InsertCommandIm
pl.java:30)

    at org.apache.tuscany.das.rdb.impl.DASImpl.<init>(DASImpl.java:81)

    at org.apache.tuscany.das.rdb.impl.DASImpl.<init>(DASImpl.java:60)

    at
org.apache.tuscany.das.rdb.impl.DASFactoryImpl.createDAS(DASFactoryImpl.
java:31)




DISCLAIMER:
This e-mail is confidential for COSCO CONTAINER LINES (COSCON) and may also be 
privileged. Any unauthorized use, copying, or dissemination of it and any 
attachments to it, is prohibited. If you have received this e-mail in error, 
please delete it immediately, unread and notify the sender as soon as possible. 
COSCON does not warrant this email is virus-free and is not liable for any 
losses or responsibilities arising from any virus being transmitted by this 
email. Internet communications are not secure and COSCON does not accept legal 
responsibility for the contents of this message.

Reply via email to