-
1. Re: help with teiid embedded deployVDBzip
rareddy Sep 19, 2014 5:18 PM (in response to sudeepd)The error seem to indicate you have no models in your VDB. Can you attach your VDB?
-
2. Re: help with teiid embedded deployVDBzip
sudeepd Sep 19, 2014 8:02 PM (in response to rareddy)My vdb xml looks like this
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<vdb version="1" name="empvdb">
<property value="false" name="preview"/>
<property value="Fri Sep 19 11:53:10 PDT 2014" name="validationDateTime"/>
<property value="8.6.0" name="validationVersion"/>
<model visible="true" type="PHYSICAL" name="mysql" path="/empdb/sources/mysql.xmi">
<property value="1623599321" name="checksum"/>
<property value="1054097021.INDEX" name="indexName"/>
<property value="mmuuid:41979468-fc1e-46a2-95b6-dceb0759dea9" name="modelUuid"/>
<property value="Relational" name="modelClass"/>
<property value="false" name="builtIn"/>
<source translator-name="mysql" connection-jndi-name="mysql" name="mysql"/>
</model>
</vdb>
Will also upload the vdb zip if that will help
-
3. Re: help with teiid embedded deployVDBzip
rareddy Sep 19, 2014 9:11 PM (in response to sudeepd)try "deployVDB" method
-
4. Re: help with teiid embedded deployVDBzip
sudeepd Sep 20, 2014 2:49 AM (in response to rareddy)Same error. Just in case it helps, I am using Teiid 8.6
-
5. Re: help with teiid embedded deployVDBzip
rareddy Sep 22, 2014 11:15 AM (in response to sudeepd)try
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<vdb version="1" name="empvdb">
<model visible="true" type="PHYSICAL" name="mysql">
<source translator-name="mysql" connection-jndi-name="mysql" name="mysql"/>
</model>
</vdb>
And make sure you have translator and data source added before by the name "mysql"
Ramesh.. -
6. Re: help with teiid embedded deployVDBzip
sudeepd Sep 22, 2014 12:59 PM (in response to rareddy)Thanks Ramesh for the response.
I have the translator and data source defined and added (See code snippet in the first post), and I edited my vdb.xml to be what you suggested.
I still get the same error about empty model, I guess there is something amiss with how I am setting up my datasource.
Requesting assistance on another thread Teiid Embedded, TIMESTAMPDIFF with MYSQL DataBase for a working mysql datasource.