[
https://issues.jboss.org/browse/TEIID-2066?page=com.atlassian.jira.plugin...
]
Ramesh Reddy resolved TEIID-2066.
---------------------------------
Resolution: Done
Each model metadata needs to be saved in its own cache file. The same schema is being
written as multiple models, thus leading to duplicate schema exceptions.
Duplicate Record Exception is occuring during startup
-----------------------------------------------------
Key: TEIID-2066
URL:
https://issues.jboss.org/browse/TEIID-2066
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 8.1
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 8.1
Once the VDB is deployed, if the server is stopped and restarted sometime I see the below
exception
{code}
13:41:55,056 ERROR [org.jboss.threads.executor] (teiid-async-threads - 2) Task execution
failed for task org.teiid.jboss.VDBService$3@79447bb5:
org.teiid.metadata.DuplicateRecordException: TEIID60012 Duplicate Schema TextData
at org.teiid.metadata.MetadataStore.addSchema(MetadataStore.java:55)
[teiid-api-8.1.0.Alpha2-SNAPSHOT.jar:8.1.0.Alpha2-SNAPSHOT]
at org.teiid.metadata.MetadataFactory.mergeInto(MetadataFactory.java:346)
[teiid-api-8.1.0.Alpha2-SNAPSHOT.jar:8.1.0.Alpha2-SNAPSHOT]
at org.teiid.jboss.VDBService$3.run(VDBService.java:380)
[teiid-jboss-integration-8.1.0.Alpha2-SNAPSHOT.jar:8.1.0.Alpha2-SNAPSHOT]
at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:801)
at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:821)
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira