TEIID30504 File not found
joshuabezaleel May 5, 2019 2:08 PMHi everyone,
I really need help from anyone since I've been stuck in this problem for a while.
I got one CSV file as a data source and I want to access it using the Java code that I have defined all the VDBMetaData. I already make sure that I got this CSV file (let's say it's called "sekolah_1") at the folder's absolute path that I supplied to the ParentDirectory property, but I still got this error log.
01:07:28,897 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-7) TEIID40120 VDB test.1 will be removed from the repository
01:07:28,917 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-7) TEIID40119 VDB test.1 removed from the repository
01:07:28,918 INFO [org.teiid.RUNTIME] (MSC service thread 1-7) TEIID50026 VDB "test.1[physicalModel{text-connector=text-connector, file, java:/textconnector-file}, sekolah_1VirtualModel{}]" undeployed.
01:07:28,919 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-7) TEIID40120 VDB test.1 will be removed from the repository
01:07:28,925 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment test-vdb.xml (runtime-name: test-vdb.xml) in 29ms
01:07:28,929 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "test-vdb.xml" (runtime-name: "test-vdb.xml")
01:07:29,172 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (MSC service thread 1-7) TEIID40118 VDB test.1 added to the repository
01:07:29,173 INFO [org.teiid.RUNTIME] (MSC service thread 1-7) TEIID50029 VDB test.1 model "physicalModel" metadata is currently being loaded. Start Time: 5/6/19 1:07 AM
01:07:29,182 INFO [org.teiid.RUNTIME] (MSC service thread 1-7) TEIID50029 VDB test.1 model "sekolah_1VirtualModel" metadata is currently being loaded. Start Time: 5/6/19 1:07 AM
01:07:29,193 INFO [org.teiid.RUNTIME] (Worker9_async-teiid-threads16) TEIID50030 VDB test.1 model "sekolah_1VirtualModel" metadata loaded. End Time: 5/6/19 1:07 AM
01:07:29,201 INFO [org.teiid.RUNTIME] (Worker8_async-teiid-threads17) TEIID50030 VDB test.1 model "physicalModel" metadata loaded. End Time: 5/6/19 1:07 AM
01:07:29,215 INFO [org.teiid.RUNTIME.VDBLifeCycleListener] (Worker8_async-teiid-threads17) TEIID40003 VDB test.1 is set to ACTIVE
01:07:29,247 INFO [org.teiid.PROCESSOR.MATVIEWS] (Worker13_QueryProcessorQueue30) 0VAplV+Z/oFo TEIID30013 Loading materialized view table #MAT_PG_CATALOG.PG_TYPE
01:07:29,255 INFO [org.teiid.PROCESSOR.MATVIEWS] (Worker12_QueryProcessorQueue29) /yLpxMFzprKc TEIID30013 Loading materialized view table #MAT_PG_CATALOG.MATPG_DATATYPE
01:07:29,317 INFO [org.teiid.PROCESSOR.MATVIEWS] (Worker13_QueryProcessorQueue32) 0VAplV+Z/oFo TEIID30014 Loaded materialized view table #MAT_PG_CATALOG.PG_TYPE with row count 43.
01:07:29,335 INFO [org.teiid.PROCESSOR.MATVIEWS] (Worker12_QueryProcessorQueue29) /yLpxMFzprKc TEIID30014 Loaded materialized view table #MAT_PG_CATALOG.MATPG_DATATYPE with row count 51.
01:07:29,346 INFO [org.jboss.as.server] (management-handler-thread - 5) WFLYSRV0016: Replaced deployment "test-vdb.xml" with deployment "test-vdb.xml"
01:07:29,877 WARN [org.teiid.CONNECTOR] (Worker13_QueryProcessorQueue34) o4ky0U7PVg8K Connector worker process failed for atomic-request=o4ky0U7PVg8K.0.3.2: org.teiid.translator.TranslatorException: File not found sekolah_1.csv
at org.teiid.translator.file.FileExecutionFactory$FileProcedureExecution.execute(FileExecutionFactory.java:94)
at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:358)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.teiid.dqp.internal.datamgr.ConnectorManager$1.invoke(ConnectorManager.java:216)
at com.sun.proxy.$Proxy36.execute(Unknown Source)
at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:302)
at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:108)
at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:104)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:61)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:280)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:115)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.resource.ResourceException: File not found sekolah_1.csv
at org.teiid.translator.FileConnection$Util.getFiles(FileConnection.java:93)
at org.teiid.translator.file.FileExecutionFactory$FileProcedureExecution.execute(FileExecutionFactory.java:92)
... 18 more
01:07:29,880 WARN [org.teiid.PROCESSOR] (Worker12_QueryProcessorQueue35) o4ky0U7PVg8K TEIID30020 Processing exception for request o4ky0U7PVg8K.0 'TEIID30504 text-connector: File not found sekolah_1.csv'. Originally TeiidProcessingException FileConnection.java:93. Enable more detailed logging to see the entire stacktrace.
Any kind of help is much appreciated. Thank you very much
Best,
Joshua