3 Replies Latest reply on Nov 24, 2015 7:49 AM by jie tao

    metadata failed to load org.teiid.translator.TranslatorException

    jie tao Novice

      Hi,

       

      I have a VDB with a property of automatic creating REAT WAR in Teiid designer.  I could deploy this VDB but today it failed after I created a new jar and adapted the virzual procedure to the Java method. The following errors: (my feeling is that the problem is related to the REST part, but donot know why)

       

      16:40:14,431 INFO  [org.teiid.RUNTIME] (MSC service thread 1-5)  TEIID50029 VDB GFBIVDB.1 model "DBMStrack" metadata is currently being loaded. Start Time: 23.11.15 16:40

      16:40:14,431 INFO  [org.teiid.RUNTIME] (MSC service thread 1-5)  TEIID50029 VDB GFBIVDB.1 model "DBMSaggregate" metadata is currently being loaded. Start Time: 23.11.15 16:40

      16:40:14,431 DEBUG [org.teiid.RUNTIME] (teiid-async-threads - 10)  TEIID50104 VDB GFBIVDB.1 model "DBMStrack" Using translator DBMStrack_mysql5 and connection DBMStrack to load metadata.

      16:40:14,433 DEBUG [org.teiid.RUNTIME] (teiid-async-threads - 16)  TEIID50104 VDB GFBIVDB.1 model "DBMSaggregate" Using translator null and connection null to load metadata.

      16:40:14,472 WARN  [org.teiid.RUNTIME] (teiid-async-threads - 10)  TEIID50036 VDB GFBIVDB.1 model "DBMStrack" metadata failed to load. Reason:org.teiid.translator.TranslatorException: org.teiid.translator.TranslatorException

          at org.teiid.metadata.index.IndexMetadataRepository.loadMetadata(IndexMetadataRepository.java:219) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.jboss.VDBService$6.run(VDBService.java:393) [teiid-jboss-integration-8.11.4.jar:8.11.4]

          at org.teiid.jboss.VDBService$7.run(VDBService.java:444) [teiid-jboss-integration-8.11.4.jar:8.11.4]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_60]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_60]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: java.io.EOFException

          at java.io.RandomAccessFile.readInt(RandomAccessFile.java:803) [rt.jar:1.8.0_60]

          at org.teiid.internal.core.index.IndexSummary.read(IndexSummary.java:288) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.internal.core.index.BlocksIndexInput.open(BlocksIndexInput.java:229) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.internal.core.index.Index.initialize(Index.java:94) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.internal.core.index.Index.<init>(Index.java:53) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.metadata.index.IndexMetadataRepository.loadAll(IndexMetadataRepository.java:177) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.metadata.index.IndexMetadataRepository.loadMetadata(IndexMetadataRepository.java:217) [teiid-metadata-8.11.4.jar:8.11.4]

          ... 6 more

       

      16:40:14,516 WARN  [org.teiid.RUNTIME] (teiid-async-threads - 16)  TEIID50036 VDB GFBIVDB.1 model "DBMSaggregate" metadata failed to load. Reason:org.teiid.translator.TranslatorException: org.teiid.translator.TranslatorException

          at org.teiid.metadata.index.IndexMetadataRepository.loadMetadata(IndexMetadataRepository.java:219) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.jboss.VDBService$6.run(VDBService.java:393) [teiid-jboss-integration-8.11.4.jar:8.11.4]

          at org.teiid.jboss.VDBService$7.run(VDBService.java:444) [teiid-jboss-integration-8.11.4.jar:8.11.4]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_60]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_60]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: java.io.EOFException

          at java.io.RandomAccessFile.readInt(RandomAccessFile.java:803) [rt.jar:1.8.0_60]

          at org.teiid.internal.core.index.IndexSummary.read(IndexSummary.java:288) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.internal.core.index.BlocksIndexInput.open(BlocksIndexInput.java:229) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.internal.core.index.Index.initialize(Index.java:94) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.internal.core.index.Index.<init>(Index.java:53) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.metadata.index.IndexMetadataRepository.loadAll(IndexMetadataRepository.java:177) [teiid-metadata-8.11.4.jar:8.11.4]

          at org.teiid.metadata.index.IndexMetadataRepository.loadMetadata(IndexMetadataRepository.java:217) [teiid-metadata-8.11.4.jar:8.11.4]

          ... 6 more