Bug 780394 (SOA-2816)

Summary: ConcurrentModificationException during the startup of the Server
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Ramesh Reddy <rareddy>
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1.0.ER7CC: vhalbert
Target Milestone: ---   
Target Release: 5.1.0.ER8   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2816
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-03 22:37:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ramesh Reddy 2011-01-19 20:16:46 UTC
Complexity: Low
project_key: SOA

Seems like this is some timing issue.

java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
	at java.util.AbstractList$Itr.next(AbstractList.java:343)
	at org.teiid.adminapi.impl.ModelMetaData.getValidationErrors(ModelMetaData.java:222)
	at org.teiid.adminapi.impl.ModelMetaData.getErrors(ModelMetaData.java:210)
	at org.teiid.adminapi.impl.VDBMetaData.getValidityErrors(VDBMetaData.java:249)
	at org.teiid.adminapi.impl.VDBMetaData.isValid(VDBMetaData.java:264)
	at org.teiid.deployers.VDBDeployer.loadMetadata(VDBDeployer.java:355)
	at org.teiid.deployers.VDBDeployer.access$2(VDBDeployer.java:315)
	at org.teiid.deployers.VDBDeployer$1.run(VDBDeployer.java:308)
	at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:147)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)

Comment 1 Van Halbert 2011-01-19 20:16:47 UTC
Link: Added: This issue Cloned from TEIID-1445


Comment 2 Van Halbert 2011-01-19 20:17:36 UTC
Security: Added: Public


Comment 3 Van Halbert 2011-01-20 16:25:03 UTC
Per engineer (and in TEIID-1445):   This should only occur with dynamic vdbs, and only if the source metadata load cannot be loaded from cache. If the error occurs the workaround would be to redeploy the vdb or restart the server. The fix is to make access to the model problem / validity checking thread safe. 

Comment 5 Warren Gibson 2011-02-03 22:37:06 UTC
2/3/2011 - wgibson resolved.