-
1. Re: vdbless hot deploy ?
rareddy Oct 22, 2009 11:03 PM (in response to motiram)Please follow https://jira.jboss.org/jira/browse/TEIID-838
We will have this in 6.3, right now only way to do it is restart. -
2. Re: vdbless hot deploy ?
shawkins Oct 22, 2009 11:49 PM (in response to motiram)A vdb can also be added at runtime through the http://docs.jboss.org/teiid/6.2/apidocs/org/teiid/adminapi/ConfigurationAdmin.html#addVDB%28java.lang.String,%20byte[. See also http://docs.jboss.org/teiid/6.2/admin-guide/en-US/pdf/teiid_admin_guide.pdf[/url]
-
3. Re: vdbless hot deploy ?
shawkins Oct 22, 2009 11:52 PM (in response to motiram)Ignore the last post, it's not formatted correctly.
A vdb can also be added through the admin api. See also the admin shell reference. -
4. Re: vdbless hot deploy ?
rareddy Oct 23, 2009 8:33 AM (in response to motiram)oops, for some reason I was thinking that Teiid did not support deploying the dynamic VDB through the admin api. Thanks for the correction Steve.
-
5. Re: vdbless hot deploy ?
shawkins Oct 23, 2009 11:00 AM (in response to motiram)After looking at this some more, we don't attempt to determine if the bytes are a def file and instead assume that it must be a vdb. So the only way this would work is if the def file were placed in a zip archive as ConfigurationInfo.def.
-
6. Re: vdbless hot deploy ?
motiram Oct 23, 2009 2:04 PM (in response to motiram)Hi All,
Thank for the info.
I have yet another new user question.
How do I connect to the Server admin in order to deploy the vdbless as archive.
Thank you
Moti. -
7. Re: vdbless hot deploy ?
rareddy Oct 23, 2009 7:27 PM (in response to motiram)When you acquire the JDBC Connection, you can type cast that connection to
com.metamatrix.jdbc.api.Connection conn = (com.metamatrixjdbc.api.Connection)getConnection(); Admin admin = conn.getAdminAPI(); admin.addVDB(...)
For all the parameters and all other available methods on the Admin API check out the JavaDocs. The "com.metamatrix.jdbc.api" package shows Teiid specific extensions to the JDBC API.
You can also use the "AdminShell" scripting in interactive or script mode and use following modeconnectAsAdmin(...); addVDB(..);
for all the "AdminShell" available commands type "help();" at the prompt. Check out the "AdminShell" guide to learn and use it.